Created
December 25, 2018 03:45
-
-
Save BedirYilmaz/992ae64eeca3db0887beb6b253bc0b2d to your computer and use it in GitHub Desktop.
Move all files in subdirectories 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
# https://superuser.com/questions/355891/move-all-files-from-subdirectories-to-current-directory | |
find . -type f -mindepth 2 -exec mv -i -- {} . \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment