Friday 22 May 2020

Ubuntu how to convert png to jpg and rename the filename?

convert image from png to jpg:-
mogrify -format jpg *.png

remove original png files:-
rm *.png

rename the new jpg files:-
mmv "*.jpg" "ffhq_#1.jpg"

No comments:

Post a Comment