home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 18 REXX
/
18-REXX.zip
/
drtree.zip
/
READ.ME
< prev
Wrap
Text File
|
1994-02-17
|
4KB
|
82 lines
DIRTREE.CMD and DIRMATCH.CMD
are simple, self contained command line utilities written in REXX
for OS/2 2.1.
/* you are licensed to use, copy, and redistribute as long */
/* as the 1st 5 lines of the .CMD files remain as is, and you and */
/* subsequent licensees agree that this program is distributed */
/* as is, use and consequences are solely the responsibility of the user. */
To use, at an OS/2 window or full screen command prompt:
[d:][p:]dirtree [?] or [options]
[d:][p:]dirmatch [?] or [options]
DIRTREE lists matching files in the current directory and
subdirectories, with display and sorting options. It is a
very handy file or directory finder/explorer, especially if
you are doing command line stuff.
DIRTREE ? provides a screen of on line help.
DIRTREE output may be customized, or sorted, or redirected
/* DIRTREE R1.0 1/1/94 by Conrad W. Clark 70544,760 */
/* you are licensed to use, copy, and redistribute as long */
/* as the 1st 4 lines of this file remain as is, and you and */
/* subsequent licensees agree that this program is distributed */
/* as is, use and consequences are solely the responsibility of the user. */
/* [d:][path]dirtree[.cmd] filespec [sd|st|ss|sp|sn] [nod|not|nos|noa] */
/* for example at the E:> dirtree e:\rxtste\*.* */
/* optional arguments (in any order) to sort (major to minor) or shorten output */
/* sd - sort by file date nod - do not display date */
/* st - sort by file creation time not - do not display time */
/* ss - sort by file size nos - do not display size */
/* sp - sort by name including drive and path */
/* sn - sort by name excluding drive and path */
/* noa - do not display attributes*/
/* dirtree ? displays online help */
DIRMATCH lists matching files in two tree structures. The matches
may be based on file name (with wild cards), or file name and string
within the files. DIRMATCH is useful for finding lost or obsolete
files when installing software upgrades, or for finding loose files
such as Compuserve downloads. If you want to find files with a string
in a single file structure, use OS/2's file finder, or use DIRMATCH
with identical 1st 2 arguments.
DIRMATCH ? lists online help.
DIRMATCH output is always sorted by file name (not including path).
Matches are listed as pairs.
" /* INSERT FILTERS HERE */ " is a good starting place for
customization.
/* Use of Program: */
/* [d:\]dirmatch[.cmd] filestructure targetstructure [prn:|stdout:|filename] [string]*/
/* dirmatch ? displays online help */
/* for example, if dirmatch.cmd is in e:\cmd, */
/* */
/* e:\cmd\dirmatch c:\os2\dll\*.* c:\describe\dll\*.* will find files with matching */
/* names in the dll directories, and their subdirectories, and display matching pairs */
/* */
/* e:\cmd\dirmatch c:\os2\dll\*.* c:\describe\dll\*.* prn: will find files with matching */
/* names, display matched pairs, and print target matches */
/* */
/* e:\cmd\dirmatch c:\os2\dll\*.* c:\describe\dll\*.* prn: xyz will find files with matching */
/* names if they include the string xyz, display matched pairs, and print target matches */
/* note that if the 3rd arg is a file, and it exists, it will be appended to. */
/* note that if a 4th arg string is specified, you must specify the 3rd arg, since the */
/* filter expects to lineout lines in the targetfiles.i containing xyz */
/* the use of shell sorted source and targets give much better performance with large */
/* numbers of files. for example, a 233 source by 1324 target took 15 mins unsorted, */
/* 170 seconds sorted */
/* */
/* insert additional filters or selection logic at the comment INSERT FILTERS HERE */
/* */