Deep and complex directory structure can be modified: files can be moved (prefix changed) and simultaneously content of the files can be changed partially.
I want to decrease an amount of data to transmit over network.
rsync works with chunks of data of 4k size (if I remember correctly).
Can I use some kind of concatenation (
tar-like) preserving meta information about file system structure and attributes, which places the file's content starting from offsets of multiple 4k bytes for each next file to enable
rsync algorithm advantages?
The problem I want to solve is omission of
rsync: it unable to detect if file content changed and file is moved at the same time between synchronizations to use matching blocks of destination files to reduce data transfer.