Skip to content

Instantly share code, notes, and snippets.

@BedirYilmaz
Created December 25, 2018 03:45
Show Gist options
  • Save BedirYilmaz/992ae64eeca3db0887beb6b253bc0b2d to your computer and use it in GitHub Desktop.
Save BedirYilmaz/992ae64eeca3db0887beb6b253bc0b2d to your computer and use it in GitHub Desktop.
Move all files in subdirectories to current directory
# 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