home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 29
/
amigaformatcd29.iso
/
-coverdisks-
/
113a
/
dayprogs
/
daydelete.readme
< prev
next >
Wrap
Text File
|
1998-06-08
|
2KB
|
64 lines
Short: DayDelete 1.11 - Delete files (+/-)x days old
Author: jthorsen@netpower.no
Uploader: jthorsen@netpower.no
Type: util/cli
Replaces: util/cli/DayDelete.lha
Version: 1.11
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 NUMBER_OF-DAYS/N,SOURCE_DIR/A,OLDER/S,QUIET/S
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.
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
And also these utils will be released in the near future:
SizeCopy
SizeDelete
SizeMove
SizeList
Version History:
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.