Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to rsync a bunch of photos from one mac to another.

rsync -av /Users/billybobob/Pictures/ sarahsansskirt@

I've got the keys correct because I can ssh from billybobob's computer into sarahsansskirt's computer. I can also rsync to a freeNAS box I have with no issues. However when I try to rsync to sarahsansskirt's computer I get

Can't locate local/ in @INC (@INC contains: /lib/perl5 /Library/Perl/5.12/darwin-thread-multi-2level /Library/Perl/5.12 /Network/Library/Perl/5.12/darwin-thread-multi-2level /Network/Library/Perl/5.12 /Library/Perl/Updates/5.12.3/darwin-thread-multi-2level /Library/Perl/Updates/5.12.3 /System/Library/Perl/5.12/darwin-thread-multi-2level /System/Library/Perl/5.12 /System/Library/Perl/Extras/5.12/darwin-thread-multi-2level /System/Library/Perl/Extras/5.12 .).

BEGIN failed--compilation aborted. Can't open perl script " -Mlocal::lib": No such file or directory

I didn't think rsync had anything to do with Perl.

What am I doing wrong here?

BTW all that INC@ looks wrong, my Perl is basically broken on billybobob's computer.... but that shouldn't matter I think.

share|improve this question

Probably you have specified LocalCommand option with some perl command in your ~/.ssh/config for host

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .