summaryrefslogtreecommitdiff
path: root/bin/convert-art
diff options
context:
space:
mode:
Diffstat (limited to 'bin/convert-art')
-rwxr-xr-xbin/convert-art5
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