Re: Toolshed "os9 copy" and preserving file dates

tim lindner via Coco <[email protected]> Thu, 30 Apr 2026 10:13:43 -0700
Newsgroups gmane.comp.hardware.tandy.coco
Message-ID <CADftNqw61SOsXxM9o5Nr41GTmRCrOOBYukoB0SrO_GRaDH7LWQ@mail.gmail.com>
On Thu, Apr 30, 2026 at 8:06 AM Allen Huffman via Coco
<[email protected]> wrote:
>
> This post is about the toolshed “os9” utility which copies files to and from OS-9 disk images.
>
> From looking at files I copied this way, the date seems to be the date of copy.

I just tested this on macOS (with the latest toolshed from the github
NitrOS-9 project) and it works for me:

% touch -t 198101010101 file.txt
% l file.txt
-rw-r--r--  1 tlindner  staff  0 Jan  1  1981 file.txt
% os9 copy file.txt new.dsk,
% os9 dir -e new.dsk

                           Directory of new.dsk,
 Owner    Last modified    Attributes Sector Bytecount Name
-------   ---------------  ---------- ------ --------- ----
  0.0     1981/01/01 0101   ----r-wr       B         0 file.txt




-- 
tim lindner

"Proper User Policy apparently means Simon Says."
-- 
Coco mailing list
[email protected]
http://listserv.adelphi.edu/cgi-bin/mailman/listinfo/coco