rsync -avz -e /usr/bin/ssh --password-file=/home/username/pwd.rsync /home/user/test/ host:/home/username/test
And it works fine, but it prompts me for a password even though I'm using --password-file
I also tried putting export RSYNC_PASSWORD=pwd but that didn't have an effect either. Any help?