Answer the question
In order to leave comments, you need to log in
How to set file extension in bash variable?
There is such a script that changes the scale of the picture and replaces the original with it. convert -resize 49.6% "$file" "$file"
I want every file modified by this script to have a .jpg file extension (not jpeg, jpg, jpeg like the originals have). How to do it?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question