DAMTP Computing News

301) 24/03/95  cleanup enhanced, and tested on Linux [J.S.Peatfield]

The cleanup script which deletes old emacs backup files, .dvi files etc and compresses old core files and a.out files and deletes .o files and .aux files has been enhanced. It will now also compress all files (both executables and data) which have not been used for over 5 days and are over 100K in size. The list of what is done:

delete ~ .~ #*# *.o files
delete .dvi .log .aux files when the .tex file exists compress core and a.out files not read for over 2 days compress all files over 100K which have not been used (read, written or run) for over 5 days

The compression program used is "gzip -9" which is very good for many common files. It has also been tested on Linux as well as other machines (Sun, HP, DEC). As before the -i flag will cause cleanup to prompt before deleting any files, and -X for turning off compression of files and -O for preventing deletion of .o files.

Please use it to tidy your home directory regularly.

Search in all news items