Initial commit
This commit is contained in:
15
strip_and_resize.sh
Executable file
15
strip_and_resize.sh
Executable file
@@ -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 <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
|
||||
Reference in New Issue
Block a user