Created
March 22, 2019 07:16
-
-
Save jetrois/d3bea1013f6a681546f415be32dc8584 to your computer and use it in GitHub Desktop.
command line to move all files in targeted folder from subfolders in *nix
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