Created
November 20, 2018 10:26
-
-
Save deepakpk009/d99cb8d416b57d95c21a7b1bd2aa0001 to your computer and use it in GitHub Desktop.
Batch convert png images in a folder to jpg
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
open terminal and cd to the folder where the png files are present and enter the below command: | |
find -name '*.png' -print0 | xargs -0 -r mogrify -format jpg *.png | |
if mogrify is not present then install it using: | |
sudo apt-get install imagemagick | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment