Finding non-jpg files
Lucia Sanchez
lu at gusilu.net
Wed Aug 23 05:12:55 UTC 2006
Dotan Cohen wrote:
> I have a large recursive directory of pictures that was once in a
> windows machine. Now that I have copied it to my linux box, I need to
> remove all the files that are NOT jpgs. How can I list all the files
> in a recursive directory that don't end in ".jpg" or ".jpeg"? A shell
> script would be nice, but even a gui program would help. Thanks.
find ./ | grep -vi .jpg\\\|.jpeg
--
Lu.
------------------------------------
I will live forever or die trying.
------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 186 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kubuntu-users/attachments/20060823/fc49b746/attachment.sig>
More information about the kubuntu-users
mailing list