Skip to content

Instantly share code, notes, and snippets.

@Angelfire
Created October 8, 2015 02:58
Show Gist options
  • Save Angelfire/90e96b2123c6e7426ec7 to your computer and use it in GitHub Desktop.
Save Angelfire/90e96b2123c6e7426ec7 to your computer and use it in GitHub Desktop.
Copy folder excluding subfolders
rsync -av --exclude='folder1' --exclude='folder2' origin/ dest/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment