Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

rsync -av /Users/billybobob/Pictures/ sarahsansskirt@192.168.1.4:/Volumes/Harddrive/Billybobob_Photos

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/lib.pm 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
add comment

1 Answer

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

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.