Created
September 8, 2015 21:44
-
-
Save dobsondev/7e95bd0f333c5e24ea81 to your computer and use it in GitHub Desktop.
Find all files in this directory and its sub-directories and execute mv with target directory. For each file found to move them to current directory.
This file contains hidden or 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
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