Re: pruning directories by adding hard links



Samwyse wrote:
I have a large collection of NTFS files arranged like this:
/desktop-2005-12-01/My Documents/...
/desktop-2006-01-01/My Documents/...
/desktop-2006-02-01/My Documents/...
/laptop-2005-12-01/My Documents/...
/laptop-2006-01-01/My Documents/...
/laptop-2006-02-01/My Documents/...
/server-2005-12-01/My Documents/...
/server-2006-01-01/My Documents/...
/server-2006-02-01/My Documents/...

As one might imagine, there are lots of files duplicated between these directories. I'd like to hard-link those files to each other, preferably in a way that reduces the effort required for future pruning.

stepping back slightly, it looks as if something like rsync
might be useful.

BugBear
.