Skip to content

Instantly share code, notes, and snippets.

@carlol
Last active September 23, 2015 08:16
Show Gist options
  • Select an option

  • Save carlol/b0e07dd31744e31a3906 to your computer and use it in GitHub Desktop.

Select an option

Save carlol/b0e07dd31744e31a3906 to your computer and use it in GitHub Desktop.
Script to extract file from subfolders to current folder #shell #unix
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