[Novalug] any clever options on 'rm'

Nino Pereira pereira at speakeasy.net
Sun Oct 21 21:47:31 EDT 2007


List,

some .pdf files give, on extracting pictures with pdfimages,
a long list of very small pictures, under 10 kb or so. These
typically contain emblems, individual letters, or other useless
information. I want to remove them all, in one fell swoop,
and then be left with the others.

In the man pages for 'rm' I don't see an option that
restricts removal to files smaller than a given size.
Does such an option exist, and do I overlook it? Or is there
another way do remove lots of small files together?

Any suggestions?

Thank you,

Nino




More information about the Novalug mailing list