Skip to content

Instantly share code, notes, and snippets.

@iPotaje
Created November 10, 2016 13:00
Show Gist options
  • Select an option

  • Save iPotaje/583e22e58d01a2b719ca8729fed67860 to your computer and use it in GitHub Desktop.

Select an option

Save iPotaje/583e22e58d01a2b719ca8729fed67860 to your computer and use it in GitHub Desktop.
Move PDFs to parent directory and delete empty folders
mv */*.pdf .
find . -type d -empty -delete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment