rm no dir?

Joachim Backes joachim.backes at rhrk.uni-kl.de
Fri Feb 17 10:09:00 UTC 2012


On 02/17/2012 10:20 AM, FRank Murphy wrote:
> Still learning:
> 
> find /nfs/yum/x86_64/16/_local/ -type f ! \( -name packages \) | xargs 
> echo rm
> 
> seems to be it.
> 

Beware if the path or filename contains blanks or some other whitespaces!

-- 
Joachim Backes <joachim.backes at rhrk.uni-kl.de>

http://www.rhrk.uni-kl.de/~backes

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4750 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20120217/6a514250/attachment.p7s>


More information about the users mailing list