🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.bugs.usg
Article #328

Re: find -inum option undocumented

#328
From: Davidsen
Date: Mon, 04 Aug 1986 16:52
33 lines
2234 bytes
In article <232@desint.UUCP> geoff@desint.UUCP (Geoff Kuenning) writes:
>In article <1036@rlgvax.UUCP> dennis@rlgvax.UUCP (Dennis Bednar) writes:
>
>> By the way, what does the -depth option of find do?
>> The man page for cpio attempts to explain what the -depth
>> option of find does, but I'm confused.
>> 
>> Also the man page for find doesn't describe -depth either.
>
>The -depth option changes the behavior of "find / -print" so that the
>name of a directory is printed *after* the contents, instead of before.
>In data-structure terminology, it changes the directory tree search from
>preorder to postorder.  It is useful with cpio because, with the -m switch,
>it causes the directory's modification time to be updated *after* all files
>have been placed in it--otherwise, placing the next file would wipe out that
>carefully-preserved mod time.

I learn something every day! I admit to not using the mod time on
directories much, but I never thought of this. I always thought it was
to allow restoring a directory which is read-only, by creating it by
default (-d) and then fixing the permissions later. I have a few things
in directories which are mode 555 and don't create well on a new system
without -depth. Hope someone else learned something, too.
-- 
	-bill davidsen

  ihnp4!seismo!rochester!steinmetz!--\
                                       \
                    unirot ------------->---> crdos1!davidsen
                          chinet ------/
         sixhub ---------------------/        (davidsen@ge-crd.ARPA)

"Stupidity, like virtue, is its own reward"
Technical Details
Message-ID: <856@kbsvax.steinmetz.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!caip!sri-spam!nike!think!husc6!harvard!panda!genrad!decvax!mcnc!ncsu!uvacs!edison!steinmetz!davidsen
References: <1036@rlgvax.UUCP> <232@desint.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!caip!sri-spam!nike!think!husc6!harvard!panda!genrad!decvax!mcnc!ncsu!uvacs!edison!steinmetz!davidsen
From: davidsen@steinmetz.UUCP (Davidsen)
Newsgroups: net.bugs.usg
Subject: Re: find -inum option undocumented
Message-ID: <856@kbsvax.steinmetz.UUCP>
Date: Mon, 4-Aug-86 12:52:11 EDT
Article-I.D.: kbsvax.856
Posted: Mon Aug  4 12:52:11 1986
Date-Received: Thu, 7-Aug-86 03:05:55 EDT
References: <1036@rlgvax.UUCP> <232@desint.UUCP>
Reply-To: davidsen@kbsvax.UUCP (Davidsen)
Organization: GE CRD, Schenectady, NY
Lines: 33