home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 18 REXX
/
18-REXX.zip
/
dirtools.zip
/
read.me
< prev
next >
Wrap
Text File
|
2000-08-17
|
4KB
|
121 lines
15 August 2000. Daniel Hellerstein (danielh@crosslink.net)
DIRtools ver 1.04: Utilities for copying, deleting, and viewing directories
DELDIR.CMD -- Delete a directory tree
COPYDIR.CMD -- Copy a directory
DIRTREE.CMD -- Display files in a directory tree
--------------------------------------------
Requirements:
COPYDIR.CMD and DELTREE use the REXXLIB library. A copy of REXXLIB.DLL
is included. COPYDIR also uses ZIP.EXE.
Further details concerning these requirements are listed in the
disclaimer at the bottom of this document.
--------------------------------------------
Installation:
Just copy the .CMD files to a directory in your path (say, C:\OS2\APPS);
and copy REXXLIB.DLL to a directory in your libpath (say, C:\OS2\DLL).
Note that these utilities are designed to be run from an OS/2 command prompt.
--------------------------------------------
Short Descriptions:
For details on the usage and options of these tools, please look at the
various .CMD files. You can get a short synopsis of these utilities
by entering a ? as an argument (for example: COPYDIR ?).
*** DELDIR
DELDIR is used to delete a directory tree.
If a readonly file is encountered, DELDIR will ask if readonly files should
also be deleted. If you answer YES, all subsequent readonly files will
be deleted.
Examples:
D:>deldir e:\oldjunk
*** DIRTREE:
DIRTREE is used to sort and display all files in a directory tree. It is
a useful tool for finding multiple occurence of a given file in a
directory tree.
Sorting can be by name, size, and/or date (you can sort my multiple
criteria); with display in either ascending or descending order.
Example. This will sort and display all *.DOC files in or under
e:\manyfile\set1, with files sorted by filename, and by
date within a file name.
D:>dirtree e:\manyfile\set1\*.DOC -Ond
Notes
* DIRTREE can use, but does not require, REXXLIB. However,
when examining many files (several thousand), the ability to use
REXXLIB procedures can substantially improve progam speed.
* DIRTREE.CMD contains several directory oriented procedures that
REXX programmers might find useful.
*** COPYDIR:
COPYDIR will copy the contents of a directory tree to a new location. Among
it's several features are:
i) If an error occurs, say due to an uncopyable file, COPYDIR will
note the error, and go to the next file (it is "robust" against
failures)
ii) If copying from HPFS to FAT directories, COPYDIR will convert
longnames to 8.3 names.
iii) COPYDIR will not overwrite newer files in the destination directories.
iv) Instead of copying files from a source to a destination directory,
COPYDIR can create a "destination directory specific .ZIP file", and
ZIP the files into it. This retains the original structure of the
source directory, with a unique .ZIP file in each destination directory
containing the actual files.
Example:
D:>copydir e:\oldspot f:\archive\oldspot -8
--------------------------------------------
Disclaimer:
Permission to use these utility programs for any purpose is hereby granted
without fee, provided that the author's name not be used in
advertising or publicity pertaining to distribution of the software
without specific written prior permision. This includes the right to
subset and reuse the code, with proper attribution.
This may not apply to the DELDIR.CMD program, since it is based on
earlier work; see DELDIR.CMD for details on authorship.
REXXLIB.DLL is NOT freeware. It may freely be used in conjunction
with COPYDIR, but NOT in REXX software that you develop. Hence,
if you use subsets of these utility programs in your own programs,
you may need to obtain a licence.
For details on obtaining a license for REXXLIB, check
http://www.quercus-sys.com.
ZIP.EXE can be obtained from http://quest.jpl.nasa.gov/Info-ZIP/
Lastly, the author of these utilities (and any potenially affiliated
institutions), disclaim any and all liability for damages due to the
use, misuse, or failure of these utilities or of subsets of these
utilities.