LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Script to clean music. (http://www.linuxquestions.org/questions/linux-newbie-8/script-to-clean-music-781935/)

pkramerruiz 01-13-2010 08:03 AM

Script to clean music.
 
Hi, I am looking for a script that renames all MP3 files (and maybe its corresponding tags) of a specific folder and its subfolders.

I want to just rename the file name, so that only the first letter is capitalized, and the first letter that stand behind a "-" (Regard! An empty slot is not a letter!). For examle:

From:
La Quinta Estación - Me Muero
to
La quinta estación - Me muero

(the first letter and the letter that comes after a Hyphen)

##########################################################################

If it is possible, I want to do the same with the IDtag.
E.g in the name of the album:
from
The Mating Game
to
The mating game

The lyric, delete, and the cover too.

Has anyone any idea how to do the first with pyRenamer?

ozanbaba 01-13-2010 09:54 AM

i don't know the details, but you can use sed or awk to do that. their scripts are not too hard to learn.

pkramerruiz 02-26-2010 07:04 AM

@ozanbaba:
Indeed! With sed, it seems, really is possible to perform miracles!
Follow the topic here: http://www.linuxquestions.org/questi...-music-781979/

Many thanks!

michaelk 02-26-2010 07:18 AM

Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.


All times are GMT -5. The time now is 08:46 AM.