.bash_aliases
· 170 B · Bash
Raw
function reduceimage {
convert -resize 2000x2000 -quality 70 "$1" "$1".r && exiftool -all= "$1".r && exiftool -delete_original "$1".r
}
alias reduceimage="reduceimage"
1 | function reduceimage { |
2 | convert -resize 2000x2000 -quality 70 "$1" "$1".r && exiftool -all= "$1".r && exiftool -delete_original "$1".r |
3 | } |
4 | |
5 | alias reduceimage="reduceimage" |