Created
February 24, 2021 18:32
-
-
Save fernandoacorreia/cfaa6007d3d95eaffd4d0ea1173d3c55 to your computer and use it in GitHub Desktop.
rsync example
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
#!/bin/bash | |
# | |
# Copies changed files to a remote server except the .git directory. | |
# | |
rsync -razvhPu -e ssh --exclude '.git' ~/Projects/forge fernando-box:/home/fedora |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment