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