Skip to content

Instantly share code, notes, and snippets.

@volo1st
Created October 10, 2015 13:22
Show Gist options
  • Save volo1st/2de1a562f400d291738d to your computer and use it in GitHub Desktop.
Save volo1st/2de1a562f400d291738d to your computer and use it in GitHub Desktop.
Selective rSync
#!/usr/bin/env bash
rsync -rv --include '*/' --include '*.js' --exclude '*' --prune-empty-dirs Source/ Target/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment