LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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

Closed Thread
 
Search this Thread
Old 01-13-2010, 08:03 AM   #1
pkramerruiz
LQ Newbie
 
Registered: Jan 2010
Distribution: Ubuntu
Posts: 19

Rep: Reputation: 0
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?
 
Old 01-13-2010, 09:54 AM   #2
ozanbaba
Member
 
Registered: May 2003
Location: Tengiz
Distribution: Slackware64 14.1
Posts: 671

Rep: Reputation: 94
i don't know the details, but you can use sed or awk to do that. their scripts are not too hard to learn.
 
1 members found this post helpful.
Old 02-26-2010, 07:04 AM   #3
pkramerruiz
LQ Newbie
 
Registered: Jan 2010
Distribution: Ubuntu
Posts: 19

Original Poster
Rep: Reputation: 0
@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!
 
Old 02-26-2010, 07:18 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,152

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
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.
 
  


Closed Thread

Tags
clean, music, rename, script


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
Need script to clean up file stevemcb Programming 26 01-18-2008 06:55 AM
clean music collection edgjerp Linux - Software 5 12-04-2007 03:38 AM
Clean log bash script? QuarQuar Linux - General 4 10-28-2007 12:46 AM
Help with clean-up script fiservguy Programming 5 01-27-2005 01:59 AM
Simple script to clean up old file rbeckett Red Hat 2 09-09-2004 03:38 PM


All times are GMT -5. The time now is 06:16 AM.

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