SizeCopy is email-ware, which means that if you like it I would really like to receive a mail from
you telling me so.
SizeCopy is a copy-util that will let you copy files from one directory into another, depending on the file-size.
USAGE:
SizeCopy <source> <dest> [min=<n bytes>] [max=<n bytes>] [is=<n bytes>] [LIST] [QUIET]
SOURCE_DIR - Source-dir
DEST_DIR - Dest-dir
MIN - Minimum filesize to copy
MAX - Maximum filesize to copy
IS - Only copy files that are exactly this size
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.
example:
SizeCopy BBS:upload/ ram:today/ min=50000 max=100000 ;This will copy files in the 50K -> 100K range
SizeCopy store: store3:tmp/ max=1000000 LIST ;This will list files in store: that are 1MB or less in size.
This should be quite simple to figure out I guess, but if you are stuck feel free to
send me a mail.
SizeCopy is part of a series of smart little tools. You should also check out the following tools:
DayCopy
DayDelete
DayMove
DayList
SizeDelete
SizeMove
SizeList
Version History:
1.02 Fixed a bug in the exit-routine.
1.01 Now uses raw-mode for input, so the input will not be put in the CON's history.
Reported by Stefan Schulz
1.0 First public release
|