Great idea which I will keep in mind for other cases! In this case, however, the backups are on separate partitions on external USB drives (I have a notebook), so hard links won't work.
Joe On 11/16/2014 07:38 PM, Karl O. Pinc wrote: > On 11/16/2014 03:53:12 PM, Joe wrote: >> I have a lot of files (and directories) (up to a few hundred at a >> time) >> that I get from various sources. Some time after I get them (after >> they >> are already backed up), I often have to move them around and >> normalize >> their names. >> >> When I do this, rsync sees them as unrelated to the copies of these >> files which are already on the backup destination. > I don't know if it suits your use case but > you could consider using hardlinks. > > If, instead of moving the files, you hardlinked them > then rsync with -H would see the files as being the same. > > (Hardlinking can only be done within a filesystem.) > > Then you'd have to delete the original filenames and > rsync again. > > This is only practicable if it's easy to delete > the old filenames, say, if all the new files > arrive in a single directory that can later > be deleted. > > > > Karl <[email protected]> > Free Software: "You don't pay back, you pay forward." > -- Robert A. Heinlein -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
