LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Same data on several computers

[ILUG] Same data on several computers

Brian Foster blf at blf.utvinternet.ie
Mon Jun 13 07:15:31 IST 2005


  | Date: Mon, 13 Jun 2005 00:31:00 +0100
  | From: Colm MacCarthaigh <colm at stdlib.net>
  | 
  | On Sun, Jun 12, 2005 at 03:33:29PM +0100, Timothy Murphy wrote:
  |  > I have innumerable files scattered over four or five computers,
  |  > and I would like to work out which are the same, [ ... ]
  | 
  | I can't recommend much in the way of an program that will rationalise
  | the existing clutter, although a short script doing;
  | 
  | 	find $wherever -type f | xargs md5sum
  | 
  | with a central "sort" would be easy enough.  [ ... ]

 not to belabour the obvious, but the above only gives
 a quick fingerprint of which files _may_ be identical.
 cmp(1) is the arbitrator of true identicalness.
 that is, _I_ would never ever delete files deemed
 “identical” only by a fingerprint (checksum) without
 also doing a `cmp' to confirm.  (and even then,
 there is an issue of files which have identical
 contents, but are not actually the “same” file.
 let's not go there ....  ;-)  )

cheers!
	-blf-

p.s.  I concur with Colm's suggestion to use a decent
      versioning system (which excludes CVS, IMHO) to
      avoid some instances of this problem.

-- 
Experienced (20+ yrs) kernel/software Eng: | Brian Foster   Montpellier,
 • Unix, embedded, &tc;  • Linux;  • doc;  | blf at utvinternet.ie   FRANCE
 • IDL, automated testing, process, &tc.   |  Stop E$$o (ExxonMobile)!
Résumé (CV) http://www.blf.utvinternet.ie  |     http://www.stopesso.com



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell