Skip to content

Instantly share code, notes, and snippets.

@bogdandynamic
Last active October 5, 2016 09:14
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 bogdandynamic/aeab539f31a8914275a3b1d2c003bf2f to your computer and use it in GitHub Desktop.
Save bogdandynamic/aeab539f31a8914275a3b1d2c003bf2f to your computer and use it in GitHub Desktop.
Linux commands: Move all files in subfolders to parent folder
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