Find corrupted jpeg image files
来源:互联网 发布:paxos算法实现 编辑:程序博客网 时间:2024/05/22 07:47
Find corrupted jpeg image files
find . -name "*jpg" -exec jpeginfo -c {} \; | grep -E "WARNING|ERROR"
11
Find corrupted jpeg image files
Finds all corrupted jpeg files in current directory and its subdirectories. Displays the error or warning found.
The jpeginfo is part of the jpeginfo package in debian.
Should you wish to only get corrupted filenames, use cut to extract them :
find ./ -name *jpg -exec jpeginfo -c {} \; | grep -E "WARNING|ERROR" | cut -d " " -f 1
Alternatives
There are 3 alternatives - vote for the best!
find . -iname '*jpg' -print0 | xargs -0 exiftool -warning; find . -iname '*jpg' -print0 | xargs -0 jpeginfo -c
0
Find corrupted jpeg image files
This checks jpeg data and metadata, should be grepped as needed, maybe a -B1 Warning for the first, and a -E "WARNING|ERROR" for the second part....
Know a better way?
If you can do better, submit your command here.
0 0
- Find corrupted jpeg image files
- Find corrupted jpeg
- image jpeg
- Take image from corrupted hard drive
- Image Update Files
- image/pjpeg和image/jpeg 上传问题
- image/pjpeg和image/jpeg问题
- image/pjpeg和image/jpeg问题
- image/pjpeg和image/jpeg问题
- image/pjpeg和image/jpeg问题
- Response.ContentType="image/jpeg"
- ImageIO.write(image, "JPEG", responseOutputStream);
- Find Files My
- Ubuntu find files
- PPM / PGM / PBM image files
- Manage Linux ISO image files.
- find image .java ------------android
- jpg文件的MimeType为image/jpeg
- QT开发的pdf阅读器资料
- Cygwin,那些不知道在哪里的命令
- 利用RTLinux开发嵌入式应用程序
- 值得一提:关于 HDFS 的 file size 和 block size
- MIUI bug
- Find corrupted jpeg image files
- Objective-C语法之NSArray和NSMutableArray
- 对象作为数据成员
- Java实现单个客户端与服务器TCP通信
- (最新版)微信现在怎样用QQ注册~
- Build 2014:微软或考虑向开源社区提供.NET核心代码
- 纯JS回显form各种表单数据
- Unique Paths
- 让vim易用人性一点