Skip to content

Instantly share code, notes, and snippets.

@solexious
Last active August 29, 2015 14:00
Show Gist options
  • Save solexious/fdf2e18a0286a87eed75 to your computer and use it in GitHub Desktop.
Save solexious/fdf2e18a0286a87eed75 to your computer and use it in GitHub Desktop.
#!/bin/bash
FILES=/home/solexious/cert/*.svg
for file in $FILES
do
file="${file%.*}"
inkscape --without-gui --export-pdf=$file.pdf $file.svg
lpr $file.pdf
rm $file.pdf
mv $file.svg /home/solexious/cert/printed/
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment