Skip to content

Instantly share code, notes, and snippets.

@idarek
Last active July 26, 2026 09:13
Show Gist options
  • Select an option

  • Save idarek/50db14f6a725f174c7c9a14af82cddd9 to your computer and use it in GitHub Desktop.

Select an option

Save idarek/50db14f6a725f174c7c9a14af82cddd9 to your computer and use it in GitHub Desktop.
for f in *.pdf; do gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile="_$f" "$f"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment