Created
April 2, 2019 00:39
-
-
Save snosrap/9c9ee5f7943be800a310f20d2cd02af8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for f in "$@" | |
do | |
BASENAME=`basename "$f"` | |
/usr/sbin/cupsfilter "$f" > "${f}.pdf" 2> "/tmp/${BASENAME}.stderr.txt" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment