LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-05-2004, 11:33 AM   #1
nrunge
Member
 
Registered: Oct 2003
Distribution: Debian Woody (2.4.22)
Posts: 182

Rep: Reputation: 30
managing MP3's


I set up a fileserver for my roomates. All media is dumped to that box. The problem is I end up with alot of duplicate mp3's. I was wondering if there was a script or program that can be used to eliminate duplicate mp3's?
 
Old 02-05-2004, 12:10 PM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Not that I know of, but if you are willing to play around a bit you could build a list of the MD5 hashes of all your mp3s, sort them by the hash, and delete all but one of the files that creates a duplicate hash. I am sure a shell script could handle this no problem
 
Old 02-05-2004, 02:47 PM   #3
nrunge
Member
 
Registered: Oct 2003
Distribution: Debian Woody (2.4.22)
Posts: 182

Original Poster
Rep: Reputation: 30
That would eliminate some but have you ever noticed how MD5 hashes differ on the exact same file when you are using a P2P client? Its not biggie, I guess Ill just do it the old fahsioned way.
 
Old 02-05-2004, 03:30 PM   #4
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
The certainly should... if MD5 hashes of the same file didn't produce the same results consitantly then the whole system of checking hashes to ensure the package you download is valid wouldn't work. And I assure you that every gentoo package I download is hashed and checked against the hash on the server and it always matches. So if you are seeing files that don't either a) the has is old, or b) somebody screwed up.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Managing SQUID depam Linux - Software 1 10-18-2005 06:10 AM
managing partitions sakman Linux - Newbie 2 06-24-2005 10:52 PM
Managing Wi-Fi ripmaster Linux - Wireless Networking 9 06-07-2005 09:12 PM
Managing accounts pk21 Linux - Software 0 08-09-2003 12:58 PM
managing size sadiboyz Linux - Newbie 2 05-01-2003 09:36 PM


All times are GMT -5. The time now is 10:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration