Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/26/83; site ihldt.UUCP Path: utzoo!linus!decvax!harpo!eagle!mhuxt!mhuxi!mhuxa!houxm!ihnp4!ihldt!jhh From: jhh@ihldt.UUCP Newsgroups: net.unix-wizards Subject: Re: -depth option for find(1) Message-ID: <1877@ihldt.UUCP> Date: Tue, 16-Aug-83 10:02:00 EDT Article-I.D.: ihldt.1877 Posted: Tue Aug 16 10:02:00 1983 Date-Received: Tue, 16-Aug-83 23:37:26 EDT References: <352@hou5f.UUCP>, <440@spanky.UUCP> Organization: BTL Naperville, Il. Lines: 17 The -depth option for find does not cause it to skip directories, as some earlier articles stated, it causes it to do a depth first search of the tree, i.e. the output looks like ./foo ./bar . Presumably, this can be used to change permissions on a directory after all the files and subdirectories have been created. This allows a mode 555 directory to be properly copied: -r--r--r-- ./foo -r--r--r-- ./bar dr-xr-xr-x . John Haller