Short: DayDelete 1.14 - Delete files (+/-)x days old Author: jthorsen@iname.com Uploader: jthorsen iname com Type: util/cli Version: 1.14 Replaces: util/cli/DayDelete.lha Architecture: m68k-amigaos DayDelete is email-ware, which means that if you like it I would really like to receive a mail from you telling me so. DayDelete is just a small util that will let you delete -x days old files from a directory. USAGE: DayDelete [OLDER] [LIST] [QUIET] [ALL] NUMBER_OF_DAYS - How many days old files to delete SOURCE_DIR - Source-dir OLDER - delete only older than x-days old files, delete newer is default. LIST - Do not delete files, only list them. QUIET - Do not ask questions, this is smart to use in scripts where you don't want the program to wait for your response. ALL - Also check in all subdirs. example: daydelete 0 store:tmp/ ;This will delete todays files from store:tmp/. daydelete 50 store3:tmp/ OLDER LIST ;This will list files in store3:tmp/ that are older than 50 days. It can be quite smart to use the LIST switch to display the affected files before you actually start deleting them, and then afterwards start daydelete without the LIST switch to actually delete the files. This should be quite simple to figure out I guess, but if you are stuck feel free to send me a mail. DayDelete is part of a serie of smart little tools. You should also check out the following utils released by me (in aminet/util/cli/): DayCopy DayMove DayList SizeCopy SizeDelete SizeMove SizeList Version History: 1.14 Will now skip files when the filedate is in the future. Fixed a bug when using the ALL argument 1.13 Fixed a bug in the exit-routine. 1.12 Added ALL-argument that will make DayDelete check all subdirs. 1.11 Now uses raw-mode for input, so the input will not be put in the CON's history. Reported by Stefan Schulz 1.1 DayDelete will no-longer display the deleted files if the QUIET switch is used. Suggested by Gottfried Janik. 1.0 First public release Will check to see if the file is protected from deletion and let you decide if if you want to un-protect it.