Skip to content

Instantly share code, notes, and snippets.

@HatemMahmoud
Created October 22, 2011 05:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save HatemMahmoud/1305657 to your computer and use it in GitHub Desktop.
Save HatemMahmoud/1305657 to your computer and use it in GitHub Desktop.
Find and move all files
find . -type f -name "*" -print0 | xargs -0 -J% mv % .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment