Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Batch process abort on wrong image file extension #56

Open
lynxzp opened this issue Apr 5, 2018 · 0 comments
Open

Batch process abort on wrong image file extension #56

lynxzp opened this issue Apr 5, 2018 · 0 comments

Comments

@lynxzp
Copy link

lynxzp commented Apr 5, 2018

Let image directory has such files:

1_jpeg_file.jpg
2_png_file.png
3_jpg_file.jpg
4_png_file.jpg    <- here wrong extension
5_jpg_file.jpg
6_jpg_file.jpg

When I run
ect directory/*
1,2,3 file will be processed, on 4 file ect will brake with message:
4_png_file.jpg: Not a JPEG file: starts with 0x89 0x50

And here not very good 2 things:

  • no show statistic about processed files
  • other files (5,6,...) will not be processed too.

I understand, renaming files it's not job of ECT, but not fail batch process please.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant