Created
February 23, 2019 08:28
-
-
Save hpcslag/af2c0b4ead349be15f79ceaa8fcc9f46 to your computer and use it in GitHub Desktop.
Move all subfolder files to parent folder
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
//go to target folder and run this. | |
find . -mindepth 2 -type f -print -exec mv {} . \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment