Created
January 23, 2023 02:12
-
-
Save andrewhodel/cee904fd62103a245ace585352000de9 to your computer and use it in GitHub Desktop.
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
#!/bin/sh | |
for i in ./*; do | |
echo ${i} | |
magick ${i} -quality 80 ${i}.webp | |
magick ${i} -resize 250x -quality 80 ${i}-small.webp | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment