Skip to content

Commit

Permalink
Add script to create 400px thumbnails from images in folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Kiailandi committed Oct 31, 2019
1 parent bc83895 commit fb92d2b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,7 @@ A collection of simple Bash scripts.
1. [Fibonacci.sh](scripts/Fibonacci.sh): test if a number being entered is a Fibonacci or not
1. [Decimal2Binary.sh](scripts/Decimal2Binary.sh): convert Decimal Number to Binary
1. [Binary2Decimal.sh](scripts/Binary2Decimal.sh): convert Binary Number back to decimal

## Image manipulation

1. [thumbnail.sh](scripts/thumbnail.sh): create 400px thumbnails from images in a folder
6 changes: 6 additions & 0 deletions scripts/thumbnail.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash
for i in *.jpg; do
convert "$i" -thumbnail 400 "thumbs/$i";
done;


0 comments on commit fb92d2b

Please sign in to comment.