Prepared meta directory for one to many sync

David Overton david at overtons.id.au
Wed May 6 23:05:08 GMT 2009


Hi Luke,

2009/5/6 Lukas Macura <macura at opf.slu.cz>:
> I know our scenario is similar to some rsync download mirror and maybe
> it is solved somewhere. But I did not find any solution yet.
>
> Maybe it would be great if rsync have some "meta" directory, where it
> would prepare all infos about stored files. Like hashes, precompressed
> files, etc. This "meta" directory could be created or refreshed by some
> options. After creating and pointing to that directory, entire mirroring
> process could be much more faster.
>
> Maybe:
> $ rsync -r --prepare-meta /tmp/meta ./
> $ rsync -r --meta-dir /tmp/meta/ ./ rsync://somewhere/
>
> Please is it theoreticaly possible ? Or is there some problem to
> precompress and prehash files?

Have a look at --write-batch and --read-batch.

David


More information about the rsync mailing list