home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 6 File
/
06-File.zip
/
prune102.zip
/
SELPRUNE.DOC
next >
Wrap
Text File
|
1994-09-07
|
3KB
|
89 lines
This utility will "PRUNE" the leaves of the tree and optionally remove the
limb if desired to do so.
This program will work on either na OS/2 platform or a DOS platform.
Usage
=====
SELPRUNE [-flags] <filename>
-D Remove the directories
-H Remove hidden files
-L List the files and directories that are being deleted
-Nx Remove the files that are older than x days
-O Override any confirmation questions
-R Recursively do subdirectories
-S Remove system files
-T Do a test of what will be removed
filename can be any of the wild characters.
EXAMPLES
========
If you use brief (editor from Borland Internationals) and ask for the state
of the editor to be kept in the current directory, then the file generated
will be created in multitudes of times. To alleviate the usage of disk space
and trying to remeber all of the directories that brief was used in, it is
now possible for you to ask selprune to find all occurences of the state file
and remove the file for you.
At the root directory type in:
SELPRUNE -lr state.rst
This will request selprune to "PRUNE" all occurrences from the tree.
If you are copying files from on machine to another, and the data contained
in the files are good only for a certain time frame, then you now can ask
selprune to remove all files that are older than a certain date or number
of days ago.
At the directory where the files are kept in, type in:
SELPRUNE -ln45 ticket*.dat
This will go through and remove all files that fit the requirement of
the file name and the number of days ago.
If you loaded the latest and greatest spreadsheet onto your system, and saved
the older version, but now are ready to commit to the new version solely, now
you can ask selprune to remove all the files and remove the tree structure
from the disk.
At the directory where the old spreadsheet is in, type in:
SELPRUNE -l -d -h -r *.*
This will remove all the files, including any hidden files, from the tree
and remove the limbs as they are emptied.
Hope this helps with the cleaning and maintaining of disks.
Use this software at your own risk!!! This is a very powerful file remover.
If used from the wrong directory, it could conceivebly remove all files on
the disk. If unsure of what the program will remove, then use the test
option to list out the files and directories that will be deleted from the
disk.
If you find this utility to be helpful, then send a donation to:
John Ogden
2539 East Dahlia
Phoenix, AZ 85032
Any comments can be sent to:
JOGDEN@az.intel.com