Why does rdiff-backup say its not in my $PATH? It is when I login!
If you get an error like sh: line1: rdiff-backup: command not found, but rdiff-backup is in your $PATH when you login to the remote host, it is happening because the value of bash’s $PATH is set differently when you login to an interactive shell than when you run a command remotely via SSH. For more information, read the bash manpage and look at your .bashrc and .bash_profile files. In particular, this can happen if rdiff-backup was installed via Fink on a remote Mac OS X system. /sw/bin is magically added to your $PATH by the script /sw/bin/init.sh when you login with an interative shell. Fink did this behind the scenes when you set it up. Simply add /sw/bin to your path manually, or copy rdiff-backup to a directory that is in your $PATH.