Re: Joe [and MANY others] doesn't delete its config directory[ies] on purge
On Tue, Feb 12, 2002 at 12:21:28PM -0500, Matt Zimmerman wrote:
> > > find /etc -type d -empty | xargs rmdir
> >
> > This command will also remove empty directories that are currently in
> > use:
>
> And will leave behind empty subdirectories unless -depth is used.
It didn't look like it was intended to be complete;
find /etc -type d -depth -empty -print0 | xargs -0r rmdir --
is closer, but I might be missing something else.
--
Glenn Maynard
Reply to: