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

util/cli/DayList.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:DayList 1.12 - List files (+/-)x days old
Author:jthorsen at iname.com
Uploader:jthorsen iname com
Type:util/cli
Version:1.12
Architecture:m68k-amigaos
Date:1998-12-13
Download:http://aminet.net/util/cli/DayList.lha - View contents
Readme:http://aminet.net/util/cli/DayList.readme
Downloads:522

DayList is email-ware, which means that if you like it I would really like to
receive a mail from 
you telling me so.
DayList is just a small util that will let you list -x days old files in a
directory.

USAGE:
DayList <number of days> <source> [OLDER] [QUIET] [ALL]

NUMBER_OF_DAYS - How many days old files to list
SOURCE_DIR     - Source-dir
OLDER          - List only older than x-days old files, list newer is default.
QUIET          - Do not output additional info. This is smart to use if you want

                 to re-direct the output to a file.
ALL            - Check all subdirs.                 

example:
daylist 0 store:tmp/  ;This will list todays files in store:tmp/ 

daylist 50 store3:tmp/ >oldcrap.txt OLDER QUIET  ;This will list files in
store3:tmp/ that are 
                                                  older than 50 days to the file
oldcrap.txt
                                                  Since the QUIET switch is used
nothing else than
                                                  the actual file-list wil be
written to the file.

This should be quite simple to figure out I guess, but if you are stuck feel
free to 
send me a mail.

DayMove 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
DayDelete
DayMove
SizeCopy
SizeDelete
SizeMove
SizeList


Version History:

1.12 Will now skip files when the filedate is in the future.
     Fixed a bug when using the ALL argument

1.11 Fixed a bug in the exit-routine. 

1.1  Added the 'ALL' argument.

1.0  First public release


Contents of util/cli/DayList.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 5247    8384  62.6% -lh5- 756d Dec  5  1998 DayList
[generic]                  839    1750  47.9% -lh5- d495 Dec  6  1998 DayList.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         2 files    6086   10134  60.1%            Dec 13  1998

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>