-
-
Save dingzeyuli/1cadb1a58d2417dce3a586272551ec4f to your computer and use it in GitHub Desktop.
Faster and more efficient alternative to scp for file copying
This file contains hidden or 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
#!/bin/sh | |
# whenever you use "scp", use "copy" instead, it ignores duplicate files. | |
rsync -azhe ssh --progress $1 $2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Works like a charm! Thanks!