Author: Jean Dacos
Date: 11-10-07 08:29
I use this command in a script:
rsync -avz --delete /fullpath_of_directory_to_backup/ username@ip::fullpath_of_destination_directory --password-file /fullpath_to_passwordfile.
I get socket error code 10 at clientserver!
Passwordfile consists only of one line strictly with the manual password and with permission 640.
If i try a command line without giving the password and with one : between username and fullpath_of_destination_directory the system asks me the password and it works well.
To use the password file i must put two :: instead of one.
what's the problem?
If i use RSYNC_PASSWORD where must i put it?
Thanks to answer me