Empty directories no content for >= 6mths
Frank Murphy
frankly3d at gmail.com
Thu Feb 13 13:36:49 UTC 2014
On Thu, 13 Feb 2014 07:16:37 -0600
Bruno Wolff III <bruno at wolff.to> wrote:
> You coukd check which ones are owned by packages. rpm -qf will show
> the package that owns a file or directory. You probably don't want to
> delete those.
So I could run this every 6 month .
find ~/ -mtime 180 -type d -empty > empty.list \
&& rpm -qf $(cat empty.list)
Thanks Bruno
___
Regards
Frank
frankly3d.com
More information about the users
mailing list