Finding non-jpg files
Javier Aguilar Saavedra
malandante at gmail.com
Tue Aug 22 22:38:21 UTC 2006
I'm not very good at shell scripting, so I just can tell you what I would
do:
find | grep -v [.jpg] || [.jpeg] || [.JPG] || [.JPEG]
2006/8/22, Dotan Cohen <dotancohen at gmail.com>:
>
> 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.
>
> Dotan Cohen
> http://what-is-what.com
>
> 23
>
> --
> kubuntu-users mailing list
> kubuntu-users at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/kubuntu-users/attachments/20060822/05dabf05/attachment.html>
More information about the kubuntu-users
mailing list