[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- To: GJC at MIT-MC, (BUG LISP) at MIT-MC
- From: Scott J. Kramer <Scott at SRI-KL>
- Date: Fri, 22 Aug 80 09:34:00 GMT
- Cc: NIL at MIT-MC
- In-reply-to: Your message of 21-Aug-80 1427-PDT
- Original-date: 22 Aug 1980 0234-PDT
Mail-from: ARPAnet host MIT-MC rcvd at 21-Aug-80 1427-PDT
Date: 21 AUG 1980 1727-EDT
From: GJC at MIT-MC (George J. Carrette)
To: (BUG LISP) at MIT-MC
CC: NIL at MIT-MC, GJC at MIT-MC
Is there a way to get the file creation date and time
of a file? Can I suggest an extension of PROBEF:
(PROBEF "FOOFILE" 'CREATION)
(PROBEF "FOOFILE" '(TRUENAME CREATION LAST-REF)).
Try: (DIRECTORY '("FOOFILE") '(CREDATE CRETIME))
Even though the information about a file is incredibly
system dependant, I think all reasonable systems support
the subset of messages '(TRUENAME CREATION LAST-REF)
and maybe some others.
True, Twenex could stand ALLFILES and DIRECTORY. I wrote something to look
at the FDB word, but it's not in ITS-like format.
This is usefull information to have for systems
programming.
Again, on Twenex peeking/poking at the File Descriptor Block from Lisp
is handy, I'll have to find my old program... -sjk
-------