Skip to content

Instantly share code, notes, and snippets.

Trifo Tsantsarov trifo13

Block or report user

Report or block trifo13

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View bulk-scale-images.sh
#!/bin/bash
# Max Width
WIDTH=1200
# Max Height
HEIGHT=800
# Resize .jpg or .png to either height or width, preserve aspect ration:
find . -type f \( -name "*.jpg" -o -name "*.png" \) -exec convert \{} -verbose -resize $WIDTHx$HEIGHT\> \{} \;
You can’t perform that action at this time.