How to run the Python oldfiles script
To run the oldfiles script, you must have a copy of it and the associated pathinfo.py source file in your path.
To get a listing of all the files in or under some directory path p, type:
oldfiles pThe argument can be omitted if you want a report starting in the current working directory:
The script produces a listing of all the files in a given directory tree, in descending order by size. Here are a few lines from an example of the output:
1995-07-21 13:08:16 7992892 ./xvdocs.ps 1995-05-20 11:46:40 3732116 ./sgml/dsssl.ps 1995-04-30 23:49:07 2123685 ./slip/screenshots/mosaic.ps
The date and time that the file was last modified appears at the front of each line in year-month-date format, followed by the size of the file and its pathname. The files will be listed in descending order by file size.
John Shipman, firstname.lastname@example.org
Last updated: 2004/03/07 01:40:56 UT