LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 01-31-2006, 08:56 PM   #1
Ottoguy
LQ Newbie
 
Registered: Apr 2004
Posts: 6

Rep: Reputation: 0
Command to find similar file names in a directory


I'm looking for a command to find similar file names in a directory. I have quite a large mp3 folder, and a fair number of duplicates. I have run a checker program that finds the same files by MD5 sums, but, I know there are still a whole lot more that aren't exactly the same, but are the same song. Any command or string of commands that will do this? preferably recursively, so I can put it in the r directory, and it will find all the similar in the sub directories too?
 
Old 01-31-2006, 09:20 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,966
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
Something like http://sourceforge.net/projects/dupemusicmatch/
maybe? Took me 30 seconds to find :}


Cheers,
Tink
 
Old 02-01-2006, 05:56 AM   #3
Ottoguy
LQ Newbie
 
Registered: Apr 2004
Posts: 6

Original Poster
Rep: Reputation: 0
I found that too, but I can't seem to get it to work. It says it has dependancies that I can't seem to find.
python-numeric
python-pymad
python-pyvorbis

Those are the dependancies, and I think I found the numeric one, but not the other two. If I try to run it I get errors like this.
File "./DupeMusicMatch-GTK.py", line 14, in ?
import stat, sys, os, glob, shutil, string, Numeric, mad, fnmatch, ogg.vorbis
ImportError: No module named mad

Which I interpert to mean it is missing some of the dependancies?
 
Old 02-01-2006, 06:18 AM   #4
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
Well i assume it is missing python-mad ....

You need to say what distro you are using as each of those dependencies, has it's own dependencies i believe (dependency hell!) but if you use a distro with a package manager its much easier

The following packages for Python-pymad

Debian - http://packages.debian.org/unstable/python/python-pymad (they're package site is down at the time of writing this)

Gentoo (atleast the link says it is, never used Gentoo) - http://ftp.tiscali.be/pub/gentoo-por...-python/pymad/

ubuntu (maybe same as deb) - http://packages.ubuntu.com/warty/python/python-pymad

The following packages for python-pyvorbis:

Debian (same place as above - http://packages.debian.org/unstable/...ython-pyvorbis

Gentoo - http://mirror.hamakor.org.il/pub/mir...thon/pyvorbis/

Alternatively there might be a package containing All the Libs/devels etc. that would work.

Good luck
 
Old 02-02-2006, 05:42 AM   #5
Ottoguy
LQ Newbie
 
Registered: Apr 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Sorry, I use Fedora 4. I searched the yum repository, but I may not have the correct repositories to find the python-mad.
 
  


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
how to change file names to uppercase in a directory konramesh Linux - General 4 06-16-2009 06:13 AM
Getting file names in a directory using C on linux. rajsun Programming 4 06-10-2005 12:47 AM
Find and special file names CritterZ Linux - Newbie 2 12-23-2004 09:49 PM
monitoring directory to get the modified file names appas Programming 1 09-06-2004 04:56 AM
linux command error message bash: /usr/bin/find: No such file or directory sundaram123 Linux - General 8 04-02-2002 07:18 AM


All times are GMT -5. The time now is 02:20 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration