find -inum option undocumented
glen at proexam.UUCP
glen at proexam.UUCP
Tue Jul 15 00:40:51 AEST 1986
In article <625 at codas.ATT.UUCP> mikel at 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
More information about the Net.bugs.usg
mailing list