home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
OSK
/
CMDS
/
find_1_1_5.lzh
/
find.rnote
< prev
Wrap
Text File
|
1993-10-31
|
1KB
|
35 lines
Release Notes:
v1.1.4 09.05.93 added -newer and !-newer
use -newer to find files newer than specified file
use !-newer to find files older than specified file
Examples:
Print files in current dir (and sub-directories) that
are newer than makefile.
find . -newer makefile -print
Print filename for all files on /h0 that are older than
my_file.
find /h0 !-newer my_file -print
v1.1.5 09.18.93 added -exec and -ok
use -exec instead of -print to execute a command on match
-ok will ask if it is ok to run command
Examples:
Sort all directories on /h0.
find /h0 -type d -exec sortdir {} \;
{} is replaced by the search string.
\; is not required and is included for compatibility with
the Unix command. Also \ is the shell escape character
which only has meaning with Unix style shells (ie. bash)
and is used to escape the ; from the shell, because the
Unix find requires the ;.