Created
November 10, 2016 13:00
-
-
Save iPotaje/583e22e58d01a2b719ca8729fed67860 to your computer and use it in GitHub Desktop.
Move PDFs to parent directory and delete empty folders
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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