find command
Doug Gwyn
gwyn at smoke.BRL.MIL
Tue Nov 28 13:01:41 AEST 1989
In article <21544 at adm.BRL.MIL> mchinni at pica.army.mil (Michael J. Chinni, SMCAR-CCS-E) writes:
>Now I have RTFM (both on BSD-based systems and SysV-based system) and I can find
>no option -depth, furthermore, when I try the example I get:
>find: bad option < -depth >
>What does this option mean ?
-depth is a standard option in the System V version of "find".
It tells "find" to perform a depth-first traversal of the file
hierarchy. This may be important, for example, if you type
find . -depth -print | chmod -rwx
since without the -depth it will be impossible to access or
even find the names of files in subdirectories in order to
chmod them.
More information about the Comp.unix.questions
mailing list