diff options
author | Ian C <ianc@noddybox.co.uk> | 2016-09-29 09:23:48 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2016-09-29 09:23:48 +0000 |
commit | bf71ec3e4e5003f08729b11fc89d58a8f256ac35 (patch) | |
tree | 851aaaa1bf8d3f8428db28417c40b79221f95e7c /mkthumbs.sh | |
parent | 2eedbb0079a38f02af5423e9a071cec6ee4b8c3e (diff) |
Added mkthumbs script.
Diffstat (limited to 'mkthumbs.sh')
-rwxr-xr-x | mkthumbs.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mkthumbs.sh b/mkthumbs.sh new file mode 100755 index 0000000..265a935 --- /dev/null +++ b/mkthumbs.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +for i in $* ; do + convert $i -auto-orient -strip $i.jpg + convert $i.jpg -resize 300x300 $i.gif + rm $i.jpg +done |