Re: Empty directories no content for >= 6mths

2014-02-13 Thread Michael Schwendt
On Thu, 13 Feb 2014 17:21:51 +, Frank Murphy wrote: > yum install --releasever=20 zikula # I'm on F20 but just to be sure. > installing below: > http://fpaste.org/76965/ > > # updatedb > > locate zikula: > http://fpaste.org/76969/ $ yum -y install zikula … $ rpm -qf /usr/share/zikula /usr/s

Re: Empty directories no content for >= 6mths

2014-02-13 Thread Frank Murphy
On Thu, 13 Feb 2014 17:33:55 +0100 Michael Schwendt wrote: > On Thu, 13 Feb 2014 14:10:46 +, Frank Murphy wrote: > > > I do a lot of testing, > > and have noticed there can be extras in > > despite pkgs owning files\folders > > > > eg. yum install zikula > > ymu erase zikula > > typo here?

Re: Empty directories no content for >= 6mths

2014-02-13 Thread Michael Schwendt
On Thu, 13 Feb 2014 14:10:46 +, Frank Murphy wrote: > I do a lot of testing, > and have noticed there can be extras in > despite pkgs owning files\folders > > eg. yum install zikula > ymu erase zikula typo here? > updatedb > ~$ locate zikula > /etc/zikula > /usr/share/zikula > /usr/share/zi

Re: Empty directories no content for >= 6mths

2014-02-13 Thread Frank Murphy
On Thu, 13 Feb 2014 20:10:50 +0530 Rejy M Cyriac wrote: > > your left with bits of zikula > > thats just one than come to mind. > > > > Since the package has been removed, the rpm -qf on those files will > return 'file is not owned by any package', and so you could > probably remove those non-

Re: Empty directories no content for >= 6mths

2014-02-13 Thread Frank Murphy
On Thu, 13 Feb 2014 22:32:52 +0800 Ed Greshko wrote: > But, what you're doing is just looking for empty directories that may > be laying around after installing and then erasing some packages? Is > that the objective? > > Plus many other I forget to remove myself. They can build up over the

Re: Empty directories no content for >= 6mths

2014-02-13 Thread Rejy M Cyriac
On 02/13/2014 07:40 PM, Frank Murphy wrote: > On Thu, 13 Feb 2014 22:00:10 +0800 > Ed Greshko wrote: > >> find $HOME/ -mtime 180 -type d -empty ?? >> >> I don't see any files below a user's $HOME belonging to any >> packages So, I don't really understand the objective. >> >> > > I do a lot

Re: Empty directories no content for >= 6mths

2014-02-13 Thread Ed Greshko
On 02/13/14 22:21, Frank Murphy wrote: > On Thu, 13 Feb 2014 22:00:10 +0800 > Ed Greshko wrote: > >> find ~/ -mtime 180 -type d -empty >> > Typo on my part find / -mtime 180 -type d -empty > > Maybe I could do it better as I don't require any "tmpfs" > controlled dirs /proc etc.. > OK I supp

Re: Empty directories no content for >= 6mths

2014-02-13 Thread Frank Murphy
On Thu, 13 Feb 2014 22:00:10 +0800 Ed Greshko wrote: > > find ~/ -mtime 180 -type d -empty > Typo on my part find / -mtime 180 -type d -empty Maybe I could do it better as I don't require any "tmpfs" controlled dirs /proc etc.. ___ Regards Frank frankly3d.com -- users mailing list users@l

Re: Empty directories no content for >= 6mths

2014-02-13 Thread Bruno Wolff III
Isn't find ~/ -mtime 180 -type d -empty equivalent to find $HOME/ -mtime 180 -type d -empty ?? I don't see any files below a user's $HOME belonging to any packages So, I don't really understand the objective. I missed that he was only looking under home. There wouldn't be anything th

Re: Empty directories no content for >= 6mths

2014-02-13 Thread Frank Murphy
On Thu, 13 Feb 2014 22:00:10 +0800 Ed Greshko wrote: > find $HOME/ -mtime 180 -type d -empty ?? > > I don't see any files below a user's $HOME belonging to any > packages So, I don't really understand the objective. > > I do a lot of testing, and have noticed there can be extras in desp

Re: Empty directories no content for >= 6mths

2014-02-13 Thread Ed Greshko
On 02/13/14 16:46, Frank Murphy wrote: > Looking at: > find ~/ -mtime 180 -type d -empty > > Some empty dirs are important, > so how to filter out those that may be needed. > Would -mtime, cover for those that have had no content for => 6mths Not sure what your question is Isn't find ~/ -mti

Re: Empty directories no content for >= 6mths

2014-02-13 Thread Bruno Wolff III
On Thu, Feb 13, 2014 at 13:36:49 +, Frank Murphy wrote: On Thu, 13 Feb 2014 07:16:37 -0600 Bruno Wolff III 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

Re: Empty directories no content for >= 6mths

2014-02-13 Thread Frank Murphy
On Thu, 13 Feb 2014 07:16:37 -0600 Bruno Wolff III 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.li

Re: Empty directories no content for >= 6mths

2014-02-13 Thread Bruno Wolff III
On Thu, Feb 13, 2014 at 08:46:19 +, Frank Murphy wrote: Looking at: find ~/ -mtime 180 -type d -empty Some empty dirs are important, so how to filter out those that may be needed. Would -mtime, cover for those that have had no content for => 6mths You coukd check which ones are owned by

Empty directories no content for >= 6mths

2014-02-13 Thread Frank Murphy
Looking at: find ~/ -mtime 180 -type d -empty Some empty dirs are important, so how to filter out those that may be needed. Would -mtime, cover for those that have had no content for => 6mths ___ Regards Frank frankly3d.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or