[mythtv-commits] Ticket #583: Give a menu to find and remove
doublicat files
MythTV
mythtv at cvs.mythtv.org
Fri Nov 4 12:17:46 EST 2005
#583: Give a menu to find and remove doublicat files
-------------------------+--------------------------------------------------
Reporter: anonymous | Owner: ijr
Type: enhancement | Status: new
Priority: minor | Milestone: 0.19
Component: mythmusic | Version: head
Severity: medium |
-------------------------+--------------------------------------------------
It would be nice to have a menu to find doublicat mp3's by name or by a
checksum. Then mythmusic could make a playlist with doublicat mp3's and
give you the opportunity to delete one of them.
I use the following to find doublicat mp3's in my collection:
find -type f -iname "*.mp3" -not -ipath "./Audiobook*" | awk -F "/"
'{print $NF}' | sort | uniq --all-repeated=prepend -s3 -w28 -i | sed
's/^$/===== Probably identical =====/'
It searches for identical filenames of all mp3' which are not Audiobooks.
It does only considers the first 28 characters because things like (Remix)
or (feat.Bla) should not be compared. It does not consider the first 3
characters because things like "01 - Track" should be the same as "08 -
Track". (p.e. Tracknumbers, CD ...)
I think it should be up to the User which characters he want and which
directorys he doesnt want to compare.
It is also bossible to use this with md5sum.
--
Ticket URL: <http://cvs.mythtv.org/trac/ticket/583>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list