Skip to content

Instantly share code, notes, and snippets.

@snosrap
Created April 2, 2019 00:39
Embed
What would you like to do?
#!/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