🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.bugs.usg
Article #324

Re: find -inum option undocumented

#324
From: glen
Date: Mon, 14 Jul 1986 14:40
15 lines
1196 bytes
In article <625@codas.ATT.UUCP> mikel@codas.UUCP writes:
>
>"   -depth	Always true; causes descent of the directory hierarchy to
>		be done so that all entries in a directory are acted on
>		before the directory itself. This can be helpful when _f_i_n_d
>		is used with _c_p_i_o_(_1_) to transfer files that are contained
>		in directories without write permission."
>-- 

Another use for this option is to clean out your disk directory hierarchy of
directories, empty except for other directories.

	find / -depth -type d -exec rmdir >& /dev/null
or better:
	find / -depth -type d -print | xargs rmdir >& /dev/null
Technical Details
Message-ID: <105@proexam.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utcs!mnetor!seismo!cmcl2!rna!rocky2!cucard!proexam!glen
References: <1036@rlgvax.UUCP> <625@codas.ATT.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!utcs!mnetor!seismo!cmcl2!rna!rocky2!cucard!proexam!glen
From: glen@proexam.UUCP
Newsgroups: net.bugs.usg
Subject: Re: find -inum option undocumented
Message-ID: <105@proexam.UUCP>
Date: Mon, 14-Jul-86 10:40:51 EDT
Article-I.D.: proexam.105
Posted: Mon Jul 14 10:40:51 1986
Date-Received: Wed, 16-Jul-86 20:27:02 EDT
References: <1036@rlgvax.UUCP> <625@codas.ATT.UUCP>
Reply-To: glen@proexam.UUCP (Glen Brydon)
Organization: Professional Examination Service, NYC
Lines: 15