[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Getting file attributes
- To: Guy.Steele at CMU-10A, gjc at MIT-MC
- Subject: Getting file attributes
- From: Glenn S. Burke <GSB at MIT-ML>
- Date: Fri, 29 Aug 80 18:00:00 GMT
- Cc: BUG-lisp at MIT-MC
- Original-date: 29 August 1980 14:00-EDT
Date: 29 August 1980 1319-EDT (Friday)
From: Guy.Steele at CMU-10A
The function DIRECTORY in the ALLFILES package is supposed to let
you get at all the file attributes of interest.
Except that it doesn't allow you to get the most recent version except
by having to sort and choose out of the result. What i have been using
for years now is some midas code which returns a DIRECTORY style
disembodied plist, eg:
(get-file-info '((dsk gsb) tea fasl)) =>
(((DSK GSB) TEA FASL)
FASL T CREATOR (LISP /1997) CRETIME (22. 46. 56.) CREDATE
(80. 7. 27.) REFDATE (80. 8. 18.) BYTES 953. BYTESIZE 36.)
Admittedly some of this is gratuitous, but it is more in line with
what is wanted -- no version choosing, and one call gets everything
of interest (including faslp).