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 into the mail, so test it first.
> If such a mod WERE to be made to rsync, perhaps a -fstype option would be
> more appropriate.
> rsync -a -fstype=nonfs / remotehost::remotepath

The corresponding option in "find" is "-local".  Something like this
might work:
    find / -local | rsync -a --include-from /dev/fd/0 --exclude '*' / host:path

- Dave Dykstra

Reply via email to