Skip to content

Instantly share code, notes, and snippets.

@shierro
Created February 3, 2019 13:46
Show Gist options
  • Save shierro/35d18f5219fc7720f963c05ad7f0eca4 to your computer and use it in GitHub Desktop.
Save shierro/35d18f5219fc7720f963c05ad7f0eca4 to your computer and use it in GitHub Desktop.
Bash - copy all files except a folder, anywhere/to a specific folder
cp -r `ls -A | grep -v "IGNORE_DIR"` DEST_DIR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment