 |
Linux Format forums Help, discussion, magazine feedback and more
|
| View previous topic :: View next topic |
| Author |
Message |
heiowge LXF regular

Joined: Wed Feb 27, 2008 8:21 pm Posts: 1803 Location: Cheshire, UK
|
Posted: Thu Jun 14, 2012 10:58 am Post subject: Finding corrupted jpg files |
|
|
I was told that I have one or two corrupt jpg files in a directory. I was told (in another place) that jpeginfo could find the problem using this code:
| Code: | | find . -name "*jpg" -exec jpeginfo -c {} \; | grep -E "WARNING|ERROR" |
No hits. Is the program rubbish or being too specific? Any help? _________________ AMD PHENOM II X6, 14 GB DDR3, 500 GB hd, 1GB nVidia card, running Linux Mint 14 KDE / Win 7. Damn thing keeps breaking.
eeepc 1015PX, 1.66 Ghz Intel atom processor, 2 GB DDR3, 320 GB hd running Mint 14 MATE. Running great. |
|
| Back to top |
|
 |
nelz Moderator

Joined: Mon Apr 04, 2005 12:52 pm Posts: 8035 Location: Warrington, UK
|
Posted: Thu Jun 14, 2012 11:56 am Post subject: |
|
|
Are the files names with .jpg or .JPG extensions? Using -iname instead of -name will find both. _________________ "Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein) |
|
| Back to top |
|
 |
heiowge LXF regular

Joined: Wed Feb 27, 2008 8:21 pm Posts: 1803 Location: Cheshire, UK
|
Posted: Thu Jun 14, 2012 1:02 pm Post subject: |
|
|
Thanks. I'll try that and let you know.  _________________ AMD PHENOM II X6, 14 GB DDR3, 500 GB hd, 1GB nVidia card, running Linux Mint 14 KDE / Win 7. Damn thing keeps breaking.
eeepc 1015PX, 1.66 Ghz Intel atom processor, 2 GB DDR3, 320 GB hd running Mint 14 MATE. Running great. |
|
| Back to top |
|
 |
heiowge LXF regular

Joined: Wed Feb 27, 2008 8:21 pm Posts: 1803 Location: Cheshire, UK
|
Posted: Thu Jun 14, 2012 1:31 pm Post subject: |
|
|
Thanks nelz. Found 2 corrupt files with .JPG extensions.  _________________ AMD PHENOM II X6, 14 GB DDR3, 500 GB hd, 1GB nVidia card, running Linux Mint 14 KDE / Win 7. Damn thing keeps breaking.
eeepc 1015PX, 1.66 Ghz Intel atom processor, 2 GB DDR3, 320 GB hd running Mint 14 MATE. Running great. |
|
| Back to top |
|
 |
| View previous topic :: View next topic |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|