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

Christian van den Bosch cjb at cjb.ie
Wed Jun 15 18:01:43 IST 2005


Brendan Halpin wrote:
> At the risk of waking the dead, I'll disturb a sleeping thread...
> 
> Timothy Murphy <tim at birdsnest.maths.tcd.ie> writes:
> 
> 
>>I have innumerable files scattered over four or five computers,
>>and I would like to work out which are the same,
>>and organise them in some rational way.
>>Is there a Great Robotic Organizer program that will do this?
>>
>>In connection with this,.
>>is there any way when I delete a file on one computer
>>of saying "and delete this file anywhere on any computer on the system"?

When I'm looking for duplicate files in a (single) directory tree, I 
tend to do something like:

find . -type f -exec md5sum {} \; | sort | uniq -Ddw33 | less

It's slow, but effective, and doesn't need any directory structure 
whatsoever to be imposed. If you're feeling paranoid you can also check 
for md5sum collisions before deleting what appear to be duplicates.

It shouldn't be hard to modify for use with multiple directories.

Christian / cjb

http://www.cjb.ie/



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