Skip to content

Instantly share code, notes, and snippets.

@AlbertSuarez
Created August 27, 2020 09:08
Show Gist options
  • Save AlbertSuarez/8a94537ad4b4e94e36b61f096481bc99 to your computer and use it in GitHub Desktop.
Save AlbertSuarez/8a94537ad4b4e94e36b61f096481bc99 to your computer and use it in GitHub Desktop.
flat_folders_of_folders_to_single.sh
#!/usr/bin/env bash
mv INPUT_FOLDER/*/**/*(.D) OUTPUT_FOLDER
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment