--files-from= broken when run from cron?

Joshua Smith bgcladd at gmail.com
Fri May 7 18:58:39 MDT 2010

Hello everyone, running rsync version 3.0.7 if i call a shell script with
the content:
*rsync -a -e 'ssh -i /home/mapsync/.ssh/id_rsa' --bwlimit=1221
--files-from=/tmp/tf2maplist --no-relative / mapsync at foo.com:

Everything runs great from a shell and /tmp/tf2maplist is a file which
contains one line at a time the location of all the .bsp files found in
/home, here is a snippet from /tmp/tf2maplist:


When run from the root crontab this error occurs:
rsync: change_dir "/root/home/user1/srcds_l/orangebox/tf/maps" failed: No
such file or directory (2)

How do i stop rsync from prepending /root/ to the front of every line when
run from cron? Is this a bug with rsync, a stupid syntax error on my part or
something else? Thanks for any help i've been banging my head for days!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20100507/912c4e9d/attachment.html>

More information about the rsync mailing list