Home
| Calendar
| Mail Lists
| List Archives
| Desktop SIG
| Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU |
> Message: 4 > Date: Tue, 23 May 2006 11:25:35 -0400 > From: Kent Borg <kentborg at borg.org> > Subject: Re: Backup Question, Preserving Hard Links > To: discuss at blu.org > Message-ID: <20060523112535.U5934 at borg.org> > Content-Type: text/plain; charset=us-ascii > > On Mon, May 22, 2006 at 05:43:02PM -0400, Kent Borg wrote: >> I am looking for a way to: >> [...] > > OK, I don't see a bunch of answers to my "what to use when rsync can't > handle it"-question. > > Let me try a different question... > > Let's say I have two disk volumes (or directory trees) that exactly > match in contents--except one has extra files that aren't present on > the other. How can I efficiently remove the extra files so the two > copies really do match? > > If you can be sure that 100% of the files on one volume are present on another volume, you could do this: find /volume1 > x find /volume2 > y cat x y | sort | uniq -u > z z will contain all the file not present in both, XOR.
BLU is a member of BostonUserGroups | |
We also thank MIT for the use of their facilities. |