On Sun, 2008-06-01 at 13:18 -0400, Tuc at T-B-O-H.NET wrote:
> > 
> > On Sat, 2008-05-31 at 18:16 -0400, Tuc at T-B-O-H.NET wrote:
> > > > That would be --only-write-batch.
> > > =20
> > >   Hrm, so it does.... But creates a $FILE.sh filename. Any
> > > way to prevent that part?
> > 
> > No.  If you don't want the $FILE.sh, just delete it.
> >
> 
>       It needs to be able to write it first......

Right...

> FreeBSD:
> 
> himinbjorg# touch /dev/null.sh
> touch: /dev/null.sh: Operation not supported
> 
>       Not so good, but......
> 
> Linux:
> [EMAIL PROTECTED] ~]# touch /dev/null.sh
> [EMAIL PROTECTED] ~]# ls -l /dev/null.sh
> -rw-r--r--  1 root root 0 Jun  1 13:13 /dev/null.sh
> 
>       Thats ok... The first system I need to
> implement it on is a Linux, so I guess it won't be an
> issue, but the next is a FreeBSD.. Maybe if I just do :
> 
> himinbjorg# ln -s /dev/null b
> himinbjorg# ls -l b
> lrwxr-xr-x  1 root  wheel  9 Jun  1 13:16 b -> /dev/null
> himinbjorg# cat /boot/kernel >b
> himinbjorg# ls -l b
> lrwxr-xr-x  1 root  wheel  9 Jun  1 13:16 b -> /dev/null
> 
>       That way its not inside the /dev directory...
> I don't know if rsync does anything special with the
> file presented in --only-write-batch, but if it just
> opens for write, then shouldn't be an issue.

That's precisely what I would have suggested.  Rsync just opens the
batch file for writing.

Matt

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to