summaryrefslogtreecommitdiff
path: root/.scripts/pdfpicconv
diff options
context:
space:
mode:
Diffstat (limited to '.scripts/pdfpicconv')
-rwxr-xr-x.scripts/pdfpicconv2
1 files changed, 1 insertions, 1 deletions
diff --git a/.scripts/pdfpicconv b/.scripts/pdfpicconv
index 8b7a551..4ab432d 100755
--- a/.scripts/pdfpicconv
+++ b/.scripts/pdfpicconv
@@ -1,3 +1,3 @@
#!/bin/sh
output=$(echo $1 | cut -d. -f1)
-pdftoppm -jpeg -r 300 $1 $output.jpg
+pdftoppm -jpeg -r 300 $1 $output && mv $output*.jpg $output.jpg