Last active
April 1, 2018 18:49
-
-
Save f9n/bc212411093fb98c4fc4e8b7e00cdec0 to your computer and use it in GitHub Desktop.
Suitable picture for telegram
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
| #!/usr/bin/env bash | |
| mkdir suitablepics | |
| for file in $(ls *.jpg); do | |
| convert $file -resize 512x512 suitablepics/${file/%jpg/png} | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment