This is a late reply to a thread of Tomasz Chmielewsk http://lists.samba.org/archive/rsync/2005-October/013878.html He asked if some workaround existed for rename of big files. I've made a script (python needed on both sides) that links the guessed files in the right directory and uses the --fuzzy feature of rsync. It is used to mirror a 100Gb archive where files are often renamed. Maybe the algorithm could be included in the main rsync codebase. I never understood why the --fuzzy feature was restricted to the same directory. -- Antony Lesuisse -------------- next part -------------- A non-text attachment was scrubbed... Name: rsyncpp.py Type: text/x-python Size: 3035 bytes Desc: not available Url : http://lists.samba.org/archive/rsync/attachments/20051101/55467a34/rsyncpp.py
Tomasz Chmielewski
2005-Nov-01 19:15 UTC
an "intelligent" rsync script, dealing with renames
Antony Lesuisse schrieb:> This is a late reply to a thread of Tomasz Chmielewsk > > http://lists.samba.org/archive/rsync/2005-October/013878.html > > He asked if some workaround existed for rename of big files. > > I've made a script (python needed on both sides) that links the guessed > files in the right directory and uses the --fuzzy feature of rsync. It > is used to mirror a 100Gb archive where files are often renamed. > > Maybe the algorithm could be included in the main rsync codebase. I > never understood why the --fuzzy feature was restricted to the same > directory.perhaps a short note how to use it would be helpful? -- Tomek http://wpkg.org WPKG - software deployment and upgrades with Samba