batch mode error

Wayne Davison wayned at samba.org
Mon Mar 28 16:45:06 GMT 2005


On Mon, Mar 28, 2005 at 09:33:22AM -0600, Dale Bohl wrote:
> [root at sspfedweb batch]# ./obsession_0000.sh
> Batch file ./batch/obsession_0000.rsync_flist open error: No such file or directory

You're in a different dir relative to the batch file when trying to read
it than you were when creating it.  So, either tweak the .sh file, or
make your rsync run start out in the same relative dir that you were in
when creating it.  For instance, to use the batch you've currently
created, do this:

    cd ..
    ./batch/obsession_0000.sh

That assumes that the destination dir is absolute.  If it is not, you
can specify a different destination on the command-line to the script,
or just edit the script to remove the "batch/" prefix from the batch
name.

..wayne..


More information about the rsync mailing list