PsyncX Problems: /usr/bin/psync: No such file or directory

Posted by Aaron Gerdes Thu, 13 Jul 2006 23:10:00 GMT

While backing up my hard drive today (like everyone should!), I hit a snag using PsyncX. After entering my password, (once the terminal loads), I received this message:

sh: line 1: /usr/bin/psync: No such file or directory

It’s an easy fix. Open /usr/local/bin/runpsync in your favorite text editor (I highly recommend TextMate—it’s also what I use for blogging). Change line 50 from this:

open(INPUT, "/usr/bin/psync $d $f $r '$mainHD' '$secondHD'|");

to this:

open(INPUT, "/usr/local/bin/psync $d $f $r '$mainHD' '$secondHD'|");

That fixed the error for me. Probably due to my laptop running software from /usr/local/bin/ instead of /usr/bin/. Just wanted to get the fix into the Google hive-mind.

Trackbacks

Use the following link to trackback from your own site:
http://www.aarongerdes.com/articles/trackback/62

Comments

Leave a response

Comments