Skip to content

Instantly share code, notes, and snippets.

@wellington1993
Created November 7, 2024 20:19
Show Gist options
  • Save wellington1993/5d7a12799b6b6e16308fa4d7e27d6fc0 to your computer and use it in GitHub Desktop.
Save wellington1993/5d7a12799b6b6e16308fa4d7e27d6fc0 to your computer and use it in GitHub Desktop.
for pdf in *.pdf; do [ -e "$pdf" ] || continue; zip -j "${pdf%.pdf}.zip" "$pdf" && rm "$pdf"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment