Option --one-machine-only ?

2001-05-30 Thread glen
Hi! Is there any simple way to restrict a recursive rsync to just one machine, analogous to the way that --one-filesystem-only works? ie. I'd like to rsync a whole machine, crossing arbitrarily many file-system boundaries, starting at '/', but not crossing NFS mounts onto other machines. thanx

Re: Option --one-machine-only ?

2001-05-31 Thread tim . conway
L PROTECTED] on 05/31/2001 12:57:52 AM Sent by:[EMAIL PROTECTED] To: [EMAIL PROTECTED]@SMTP cc: Subject: Option --one-machine-only ? Classification: Hi! Is there any simple way to restrict a recursive rsync to just one machine, analogous to the way that --one-filesystem-

Re: Option --one-machine-only ?

2001-05-31 Thread Dave Dykstra
On Thu, May 31, 2001 at 03:32:27PM +0200, [EMAIL PROTECTED] wrote: > This'll give you what you want without a mod to rsync. > ++ > #!/bin/sh > mount |grep -v nfs|while read fs crud > do > rsync -ax $fs remotehost::remotepath/`basename $fs` > done > ++ > I wrote it i