automator print save as pdf code example Example: automator save pdf to downloads /usr/bin/curl -L -s -o "$OUTDIR${f##*/}.pdf" "$f"