Short: DayCopy 1.15 - Copy files (+/-)x days old Author: jthorsen@iname.com Uploader: jthorsen iname com Type: util/cli Version: 1.15 Replaces: util/cli/DayCopy.lha Architecture: m68k-amigaos Daycopy is email-ware, which means that if you like it I would really like to receive a mail from you telling me so. DayCopy is a copy-util that will let you copy -x days old files from one directory into another. I wrote it mainly for my own use, but hopefully it will be handy for other people to use also. USAGE: DayCopy [OLDER] [LIST] [QUIET] [ALL] NUMBER_OF_DAYS - How many days old files to copy SOURCE_DIR - Source-dir DEST_DIR - Dest-dir OLDER - Copy only older than x-days old files, copy newer is default. LIST - Do not copy 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 subdirs example: daycopy 0 BBS:upload/ ram:today/ ;This will copy todays uploads into ram:today/ daycopy 50 store: store3:tmp/ OLDER LIST ;This will list files in store: that are older than 50 days. The destination dir is not used for anything at all when using the LIST switch but it has to be used because of the way the arguments are handled. This should be quite simple to figure out I guess, but if you are stuck feel free to send me a mail. Daycopy is the first in a serie of smart little tools. You should also check out the following utils released by me: DayDelete DayMove DayList SizeCopy SizeDelete SizeMove SizeList Version History: 1.15 Will now skip files when the filedate is in the future. Fixed a bug when using the ALL argument 1.14 Fixed a bug in the exit-routine. 1.13 Added ALL-argument to make DayCopy also check all subdirs. 1.12 Now uses raw-mode for input, so the input will not be put in the CON's history. Reported by Stefan Schulz 1.11 Daycopy will now preserve creation-date/filecomment and protection when copying the file. Suggested by Fredrik Ismyren. 1.1 Converted the program from AmigaE to C. Added the OLDER, LIST and QUIET switches. DayCopy can now be aborted at any time by pressing Ctrl+C 1.0 First public release