what -depth really does

pg at mhtsa.UUCP pg at mhtsa.UUCP
Tue Aug 16 23:38:28 AEST 1983


The -depth option does not:
	1) omit directory names from the source tree
	2) or limit the depth of the tree searched
This option causes find to perform a 'form' of depth first search through
the directory tree; all entries in a directory will be expanded before the
directory name is found.  The purpose of this option is to enable 'find'
to be used with a command like 'cpio' or 'chmod' and enable mere mortals
(translate 'not root') to copy or set the access modes of these trees in
a well ordered fashion.  You might 'find' this feature useful now.

I regret that the documentation for this option did not get out, but we
are not all perfect.  This is clearly exhibited by what transpires on this
network.
				At your service,
				Paul Glick
				...mhtsa!pg



More information about the Comp.unix.wizards mailing list