home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of Shareware - Software Farm 2
/
wosw_2.zip
/
wosw_2
/
PASCAL
/
KEEP.ZIP
/
README.DOC
< prev
Wrap
Text File
|
1991-12-19
|
2KB
|
56 lines
Included are four files:
KEEP.PAS
KEEP.EXE
MASSDEL.PAS
MASSDEL.EXE
KEEP will collect a list of file names (including wildcards) from the command
line and delete all files not matching ANY of the files in the list. KEEP
without any parameters prints a brief help message. KEEP will always prompt
for confirmation before deleting a file unless told to do otherwise. You
can ask KEEP to show you a list of the files yet to be deleted. You can also
ask KEEP to show you the files being kept from deletion.
For example:
keep *.pas *.bat *.lib
or
keep -d *.pas *.bat *.lib ; dangerous mode - no confirmation
or
keep -s *.pas *.bat *.lib ; silent mode with confirmation
or
keep -s -d *.pas *.bat *.lib ; silent/dangerous mode
MASSDEL works the same as the DOS DEL command except that multiple files
can be specified on the command line. Wildcards are accepted. Confirmation
is requested before any file is deleted unless you have specified otherwise.
MASSDEL without any parameters prints a brief help message.
For example:
massdel *.bak *.tmp *.bkp
or
massdel -d *.bak *.tmp *.bkp
or
massdel -s *.bak *.tmp *.bkp
or
massdel -s -d *.bak *.tmp *.bkp
Written by Rick Owen
(208) 523-1844
Written in Turbo Pascal V6.0.
These programs carry no warranties either expressed or implied. I
assume no liability of any kind [use at YOUR risk]. Any program
which deletes files is inherently dangerous and you should be
extremely careful when using either KEEP or MASSDEL. You are free to
use both programs however you wish, and you may freely distribute
copies of either program, as long as you do not charge for it [connect
charges to BBSes are excluded from this restriction].