Displaying 1 result from an estimated 1 matches for "shortsum".
2008 Mar 10
2
New rsync option checksum-path
...t for distinguishing
changeg files. Recall that changes to ID3 tags inside MP3 files do
not change filesizes, and hence neither filesize is a good criteria
for identifying changes.
Suspecting that the changes were made only to ID3 tags, a very common
situation, one could write a shell script, say SHORTSUM, which would
calculate a checksum only on the first 10K bytes, for example, where
ID3 tags reside.
Using
rsync -av --checksum-path=SHORSUM --checksum /LOCAL-MP3-DIRECTORY/
SERVER:/REMOTE-MP3-DIRECTORY/
would therefore save a lot of processing power.
I am aware that rsync was designed in a way...