Skip to content

Instantly share code, notes, and snippets.

@chiefmikey
Last active January 22, 2024 14:29
Show Gist options
  • Save chiefmikey/243e57ffbcfb91e7e46cca0091661842 to your computer and use it in GitHub Desktop.
Save chiefmikey/243e57ffbcfb91e7e46cca0091661842 to your computer and use it in GitHub Desktop.
Move files from subdirectories to root
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