home *** CD-ROM | disk | FTP | other *** search
- find (local) Disk Utilities v1.1 find (local)
-
- NNAAMMEE
- find - This program is used to recursively list files or
- call a command repeatedly for each of the files. The default is
- for the program to list out files recursively.
-
-
- SSYYNNOOPPSSIISS
- find <-adhpqs> [pattern ...] [file ...] [-e command options]
-
-
- EENNVVIIRROONNMMEENNTTSS
-
- NONE!
-
-
- OOPPTTIIOONNSS
-
- a - List or calculate usage of only files with archive bit set,
- good for incrementals
-
- d - Don't do operation on directories. This means either don't
- call the command on directories or don't print them out.
-
- e - This causes the command to be called many times with each
- file as it's paramter. If "{}" is specified in the "command
- options" the file name will replace the "{}", otherwise the file
- name is appended onto the end.
-
- h - Display help.
-
- p - pattern, copy only files matching the specified pattern.
- Multiple patterns can be specified with multiple p options (for
- example "-ppp *.c *.h *.bat" would find all *.c *.h and *.bat
- files).
-
- q - Quiet. No information is outputted to the screen. Sometimes
- handy for the -e option.
-
- s - skip any files matching specified pattern. Multiple skip
- options can be included also, such as "-sss *.obj *.exe *.map"
-
-
- EEXXAAMMPPLLEESS
-
- find -d c:\ -e del
- Delete all files on the c: drive, while leaving the directory
- structure in place.
-
- find c:\ | chmode -aI
- Sets the archive bit on every file on the c: drive.
-
- find -p myfile.c c:\ -e page {}
- Search the whole c: drive for myfile.c and view that file using
- the page command.
-
- find -pp *.exe *.com c:\
- Echo every .exe and .com file on the hard disk.
-
- find -d c:\turboc\prog -e cp -n {} d:\foo
- Copy all files under c:\turboc\prog without preserving the
- directory structure to d:\foo.
-
- -1-
-
- find (local) Disk Utilities v1.1 find (local)
-
- BBUUGGSS
-
- None I know of!
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -2-
- !
-