On Tue, 24 Sep 2002, jw schultz wrote: > [edited] > On Tue, Sep 24, 2002 at 12:52:58PM -0700, Gwendal Stevanazzi wrote: > > On Tue, 24 Sep 2002 [EMAIL PROTECTED] wrote: > > > Here's the script: > > > rsync dira/file dirc > > > > This script runs ok > > But here is a script which doesn't work for me: > > rsync -R dira/file ../dest/ > > The culprit appears to be the -R option. You can avoid that > by using a more complete path on the destination.
Well, the problem is that I'm trying to use this in a script where the files are given as paramaters. So I can do rsync -R dir1/file1 dir2/file2 dir3/file3 ../dest which is not working in all cases or rsync dir1/file1 ../dest/dir1 rsync dir2/file2 ../dest/dir2 rsync dir3/file3 ../dest/dir3 but the second solution, using a remote shell like ssh, is much slower and much harder to implement ... -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html