Re: --fuzzy search over to-be-deleted files to catch moved files and directories

2013-09-04 Thread Jochen Hayek
H. Langos writes: > I use rsync via rsnapshot to backup a large collection of files. > Using "--fuzzy" [...] Any progress on this? Cheers, JH -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listin

Re: --fuzzy search over to-be-deleted files to catch moved files and directories

2009-12-04 Thread Matt McCutchen
On Tue, 2009-11-24 at 12:33 +0100, H. Langos wrote: > Ok, I see. Does "--fuzzy" check if the filezize is in the same order of > magnitude (or at most one order up/down)? > Expensive fuzzy string matching on filenames can probably safely be skipped > if abs(round(log10(ssize))-round(log10(dsize))

Re: --fuzzy search over to-be-deleted files to catch moved files and directories

2009-11-24 Thread H. Langos
On Sat, Nov 21, 2009 at 09:08:05AM -0500, Matt McCutchen wrote: > On Fri, 2009-11-13 at 18:58 +0100, H. Langos wrote: > > > > > [--detect-renamed] doesn't calculate name similarity like --fuzzy > > > > > because that would > > > > > be prohibitively expensive in the current implementation. > > > >

Re: --fuzzy search over to-be-deleted files to catch moved files and directories

2009-11-21 Thread Matt McCutchen
On Fri, 2009-11-13 at 18:58 +0100, H. Langos wrote: > Ahh, ok, so here size+mtime or checksum select the base file. > > And if that selection fails then "--fuzzy" search is applied but looks > only in the /dst directory for a suitable candidate. > > (Or is the temporal order reversed?) Yes, th

Re: --fuzzy search over to-be-deleted files to catch moved files and directories

2009-11-13 Thread H. Langos
Hi Matt, Thank you very much for answering those questions and helping me to understand rsync better! On Thu, Nov 12, 2009 at 11:20:19PM -0500, Matt McCutchen wrote: > Attempting to address each of your questions, here and then in your > other message... > > On Wed, 2009-11-11 at 12:17 +0100, H.

Re: --fuzzy search over to-be-deleted files to catch moved files and directories

2009-11-12 Thread Matt McCutchen
On Wed, 2009-11-11 at 14:32 +0100, H. Langos wrote: > Unfortunately it still does not solve my problem. "--detect-renamed" > hardlinks when it moves deleted files to its temp directory. But then > it seems to copy the file to its new location. > > This breaks the space saving property of rsnaps

Re: --fuzzy search over to-be-deleted files to catch moved files and directories

2009-11-12 Thread Matt McCutchen
Attempting to address each of your questions, here and then in your other message... On Wed, 2009-11-11 at 12:17 +0100, H. Langos wrote: > > It will find moved files that match exactly > > according to the "quick check" in effect (size + mtime or checksum). > > That is basename+size+mtime or b

Re: --fuzzy search over to-be-deleted files to catch moved files and directories

2009-11-11 Thread H. Langos
On Wed, Nov 11, 2009 at 12:17:50PM +0100, H. Langos wrote: > Hi Matt, > > Thank you very much for the quick response! > > On Tue, Nov 10, 2009 at 12:13:09PM -0500, Matt McCutchen wrote: > > On Tue, 2009-11-10 at 17:55 +0100, H. Langos wrote: > > > Now the question is, if fuzzy search could be ext

Re: --fuzzy search over to-be-deleted files to catch moved files and directories

2009-11-11 Thread H. Langos
Hi Matt, Thank you very much for the quick response! On Tue, Nov 10, 2009 at 12:13:09PM -0500, Matt McCutchen wrote: > On Tue, 2009-11-10 at 17:55 +0100, H. Langos wrote: > > Now the question is, if fuzzy search could be extended to search for > > moved files across directory borders. If for exam

Re: --fuzzy search over to-be-deleted files to catch moved files and directories

2009-11-10 Thread Matt McCutchen
On Tue, 2009-11-10 at 17:55 +0100, H. Langos wrote: > Now the question is, if fuzzy search could be extended to search for > moved files across directory borders. If for example I move pictures > aound to reorganize them in a different directory hierarchy, or if I > move whole directories around a

--fuzzy search over to-be-deleted files to catch moved files and directories

2009-11-10 Thread H. Langos
Hi, I use rsync via rsnapshot to backup a large collection of files. Using "--fuzzy" already saves me a lot of time by discovering most renames that happen within a directory. Therfore I already use the "--delete-after" option. Now the question is, if fuzzy search could be extended to search for