Created
May 13, 2020 23:45
-
-
Save brodzik/f9a6bc23d92e518a844437412b0a6ce3 to your computer and use it in GitHub Desktop.
Move files from sub-directories 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 -exec mv --backup=numbered {} . \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment