16 lines
405 B
Bash
Executable File
16 lines
405 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Very simple script to resize and strip EXIT for an image (or several images)
|
|
# Usage:
|
|
# ./scrit_and_resize.sh <argument>
|
|
# <argument> 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
|