Hello everyone, running rsync version 3.0.7 if i call a shell script with the content:<div><b>rsync -a -e &#39;ssh -i /home/mapsync/.ssh/id_rsa&#39; --bwlimit=1221 --files-from=/tmp/tf2maplist --no-relative / mapsync@foo.com:/home/mapsync/tf2maps</b></div>
<div><br></div><div>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:</div><div><br>
</div><div>/home/user1/srcds_l/orangebox/tf/maps/cp_generator_b4b.bsp</div><div>/home/user2/srcds_l/orangebox/tf/maps/cp_orange_n5_final.bsp</div><div><br></div><div>When run from the root crontab this error occurs:</div>
<div>rsync: change_dir &quot;/root/home/user1/srcds_l/orangebox/tf/maps&quot; failed: No such file or directory (2)</div><div><br></div><div>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&#39;ve been banging my head for days!</div>