Skip to content

Instantly share code, notes, and snippets.

@jetrois
Created March 22, 2019 07:16
Show Gist options
  • Save jetrois/d3bea1013f6a681546f415be32dc8584 to your computer and use it in GitHub Desktop.
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
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