diff options
author | Nicholas Van Doorn <vandoorn.nick@gmail.com> | 2021-08-04 18:12:54 -0700 |
---|---|---|
committer | Nicholas Van Doorn <vandoorn.nick@gmail.com> | 2021-08-17 10:47:48 -0700 |
commit | 6af4ba943f6b73e31a0b2bd0262d953a2e954ddb (patch) | |
tree | 0cf7b1d160d0671eeacb66004433b63572b96ebd /bin/convert-art |
Initial commit
Diffstat (limited to 'bin/convert-art')
-rwxr-xr-x | bin/convert-art | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/convert-art b/bin/convert-art new file mode 100755 index 0000000..4f72351 --- /dev/null +++ b/bin/convert-art @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +gfind "$1" -iname "cover.jpg" -o -iname "cover.gif" -o -iname "cover.png" | while read file + do convert "$file" -thumbnail 130x130 "${file%/*}"/cover.bmp +done |