Created
March 25, 2020 16:31
-
-
Save vietvudanh/1188dfde7534c1ba681ca6c7c81679ec to your computer and use it in GitHub Desktop.
rsync
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
CWD="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
rsync -arv \ | |
--exclude-from=$CWD/exclude.txt \ | |
$CWD \ | |
vpn:~/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment