Re: rm and old rpms

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

 



Am 19.09.2010 20:36, schrieb Frantisek Hanzlik:

> find /path/local.repo -name '*.rpm' -mtime +200 -exec rm {} \;
> 
> is OK; when there is many files to remove this maybe faster:

find /path/local.repo -type f -name "*.rpm" -mtime +200 -exec rm {} \+

does not start a new process for each found item.

Alexander

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux