Re: Empty directories no content for >= 6mths

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/13/2014 07:40 PM, Frank Murphy wrote:
> On Thu, 13 Feb 2014 22:00:10 +0800
> Ed Greshko <ed.greshko@xxxxxxxxxxx> 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
> despite pkgs owning files\folders
> 
> eg. yum install zikula
> ymu erase zikula
> updatedb
> ~$ locate zikula
> /etc/zikula
> /usr/share/zikula
> /usr/share/zikula/docs
> /usr/share/zikula/includes
> /usr/share/zikula/includes/classes
> /usr/share/zikula/includes/classes/SimplePie
> /usr/share/zikula/includes/classes/Smarty
> /usr/share/zikula/includes/classes/adodb
> /usr/share/zikula/includes/classes/php-gettext
> 
> 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 <path> is not owned by any package', and so you could
probably remove those non-empty directories safely as well. But the
catch is that rpm -qf on user data directories/files will also give the
same output. So how would you distinguish between them ?

- Rejy (rmc)
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux