I want a script to automate file back-ups, and I've tried the following with no success:
rsync -a -e ssh --password-file=file /etc me@elsewhere:/backup 2> /dev/null This works ok, except that it asks for a password on the command line. <file> contains the password on a single line, and nothing else. I've tried it with and without \n and neither work without manually entering the password. Any suggestions? David. -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
