How to Exclude .git From scp
Bash makes it easy to find reasons not to use rsync
even when you know you should:
scp /path/to/files/[!EXCLUDE_NAME_HERE]* [email protected]:/remote/path
Bash makes it easy to find reasons not to use rsync
even when you know you should:
scp /path/to/files/[!EXCLUDE_NAME_HERE]* [email protected]:/remote/path