diff --git a/strip_and_resize.sh b/strip_and_resize.sh new file mode 100755 index 0000000..89dab89 --- /dev/null +++ b/strip_and_resize.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +# Very simple script to resize and strip EXIT for an image (or several images) +# Usage: +# ./scrit_and_resize.sh +# can be a single file, several files, and so on +# It can also be configured by editing the $resolution variable + +list=($@) +resolution="1920x1080" + +for i in ${list[@]}; do + /usr/bin/vendor_perl/exiftool -all= $i + convert $i -resize $resolution $i +done