LinuxQuestions.org
Review your favorite Linux distribution.
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-22-2005, 06:43 PM   #1
buffed317
Member
 
Registered: Jun 2004
Location: New Jersey, USA
Distribution: Slackware 11
Posts: 191

Rep: Reputation: 31
program to rename mp3 automatically?


i am looking for a program that will automatically rename mp3's. for example i have one mp3 title as guns 'n' roses and one as Guns n Roses. i need a program that would make names consistant. i have a ton of mp3's like that so i need something automatic.

thanks
 
Old 02-22-2005, 07:48 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
You don't need a program to do that. You can do it with awk (or gnu awk - gawk) as a one line command or short script. Awk allows the use of [A-Za-z] in the command to get around case-sensitivity, then rewrite the name with [A-Z] or [a-z] to to make the names consistent.
Google up a copy of Gawk Users Manual. The pertinent section is in regexp (regular expression matching).
You may also be able to use sed to accomplish the task.
 
  


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
rename file from C program on redhat 9, how to? syseeker Programming 2 11-17-2005 07:03 AM
resume curl automatically on MP3 stream fail webagogue Linux - General 0 05-29-2005 09:55 AM
Way to automatically restart a program? AlexV Linux - General 1 04-13-2005 05:23 PM
K3B automatically sorts MP3 files in order sephiro499 Linux - Software 0 12-03-2004 02:02 PM
Running a program automatically by the clock? orange400 Linux - General 4 07-12-2004 05:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:57 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
Open Source Consulting | Domain Registration