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

util/cli/DayDelete.lha

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

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> <source> [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.


Contents of util/cli/DayDelete.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 6501   11076  58.7% -lh5- df1b Dec  5  1998 DayDelete
[generic]                 1098    2393  45.9% -lh5- d979 Dec  6  1998 DayDelete.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         2 files    7599   13469  56.4%            Dec 13  1998
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>