Skip to content

Instantly share code, notes, and snippets.

@kldeb
Created March 24, 2018 17:37
Show Gist options
  • Save kldeb/d7082707249cfbd35ada43b35fa377ad to your computer and use it in GitHub Desktop.
Save kldeb/d7082707249cfbd35ada43b35fa377ad to your computer and use it in GitHub Desktop.
Add pdf extension to every file in a directory
find . -type f -exec mv '{}' '{}'.pdf \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment