AminetAminet
Search:
84782 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/cli/DayCopy.lha

Mirror:Random
Showing: i386-aros icongeneric icon
No screenshot available
Short:DayCopy 1.15 - Copy files (+/-)x days old
Author: jthorsen at iname.com
Uploader:jthorsen iname com
Type:util/cli
Version:1.15
Architecture:m68k-amigaos
Date:1998-12-13
Replaces:util/cli/DayCopy.lha
Download:util/cli/DayCopy.lha - View contents
Readme:util/cli/DayCopy.readme
Downloads:626

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 <number of days> <source> <dest> [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


Contents of util/cli/DayCopy.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 7654   12896  59.4% -lh5- 81f0 Dec  5  1998 DayCopy
[generic]                 1186    2442  48.6% -lh5- 4fd0 Dec  6  1998 DayCopy.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         2 files    8840   15338  57.6%            Dec 13  1998
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>