mirror of https://github.com/cheat/cheat.git
commit
bec516b30a
|
@ -15,5 +15,5 @@ convert original-image.jpg -resize 100x converted-image.png
|
|||
for file in `ls original/image/path/`;
|
||||
do new_path=${file%.*};
|
||||
new_file=`basename $new_path`;
|
||||
convert $file -resize 150 conerted/image/path/$new_file.png;
|
||||
convert $file -resize 150 converted/image/path/$new_file.png;
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue