Skip to content

Instantly share code, notes, and snippets.

@crmccreary
Created October 24, 2013 20:43
Show Gist options
  • Select an option

  • Save crmccreary/7144628 to your computer and use it in GitHub Desktop.

Select an option

Save crmccreary/7144628 to your computer and use it in GitHub Desktop.
Move all files in subdirectories to current directory
find ./*/* -type f -print0 | xargs -0 -I % mv % .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment