Answer the question
In order to leave comments, you need to log in
How to pass password to rsync to connect to remote machine?
I want to use rsync to backup folders and files daily from one server to another. I will write the rsync command to a .sh file, for example, in this form:
rsync -v --delete --exclude-from=.git --delete-excluded [email protected]:/home/www/ /backup/rsync/www/
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question