Last active
April 1, 2018 02:31
-
-
Save akhenakh/ce23eba063d0ae1d268e500027d1058d to your computer and use it in GitHub Desktop.
Recover from convert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#find ./ -name '*.jpg' -exec bash -c '[ ! -f "/home/akh/GIS/tex/${0//jpg/}dds" ]' {} \; -exec bash -c 'convert "$0" /home/akh/GIS/tex/"${0%.jpg}.dds"' {} \; -ls | |
find ./ -name '*.jpg' -exec bash -c '[ ! -f "/home/akh/GIS/tex/${0//jpg/}dds" ]' {} \; -print | xargs parallel convert {} /home/akh/GIS/tex/{.}.dds |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment