Re: Deleting all image files with "small" keyword

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

 



On 04/11/2010 01:04 AM, Leonard Adjei wrote:
using
  sudo find AUDIO/  -name \*Small\*.jpg -exec rm  {} \;
worked fine for me.

Thanks

Hi,

this will run the rm command separately for *each found* "small".jpg file.

Probably faster:

find AUDIO/  -name \*Small\*.jpg|xargs rm

This starts rm only once, but depends on the maximum command length allowed for your shell.

--
Joachim Backes <joachim.backes@xxxxxxxxxxxxxx>

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

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

-- 
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