-
Notifications
You must be signed in to change notification settings - Fork 41
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
Add progress information #115
Comments
This is similar to your other issue, but I think it may be out of scope. Being able to display progress would require a careful design so it works well for a number of different use cases. I consider the folder support of ECT to be a convenience feature and not its main function, so adding progress information to see how long it takes to compress one big folder is not what I plan to focus on. |
I use xargs to help,
but I have not figure out yet, to show the file names in line before optimize result output |
I use this: find . -type f -iname "*.png" -o -iname "*.jpg" -print0 | sort -z | xargs -0r -n 1 -P $(nproc) -I '{}' sh -c 'OUT=$(ect -3 -strip -keep "$1" | grep -v "^Processed") && echo "$1 --> $OUT" || echo "Error processing $1"' sh '{}' Files are delimited by a null character to avoid any funny business with weird characters in filenames. However, I find the command a monstrosity and I think it would be better if |
I'm currently compressing about 2500 images. There is no ETA, % of completion. I have no idea if it's gonna take a few hours or many days. Please add at least something like this
Processed 135 (100 MB) out of 500 files (900 MB)
The text was updated successfully, but these errors were encountered: