LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 12-24-2006, 09:10 AM   #1
hansalfredche
Member
 
Registered: Jun 2005
Posts: 445

Rep: Reputation: 31
Little utility for copying and renaming Mp3 files


Hi there

I'm looking for a programm that lets me move and rename Mp3 files using ID3 Tags WITHOUT deleting the original after the operation. Basically, it should be something like Easytag/Métamorphose, but that doesn't delete the original file.

Thanks
 
Old 12-24-2006, 09:32 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
You could use a shell script that copies and renames the files.
 
Old 12-24-2006, 10:01 AM   #3
hansalfredche
Member
 
Registered: Jun 2005
Posts: 445

Original Poster
Rep: Reputation: 31
I never used shell scripts before. Is there some guide for it?
 
Old 12-24-2006, 11:07 AM   #4
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
I linked a few related threads at the end of this one a while back. Everyso often I need to do that sort of thing, and I wanted to be able to find the places I'd gotten help when I needed to do it again.

The scripts outlined in these threads will not be eactly what you need, but they will probably get you started if you study them a little bit.

In combination with that, if you need to use the id3 tags, you might study a program named mp3report.

Here's my little "cheater doc" for the way I use mp3report. I'd have to study it myself to remember exactly how it works, but I know it does:
Quote:
My script:
mp3report --template=./mp3rpt_template.html --outfile=marchive.html ./Archives/
[Copy body of marchive.html to archive.txt, then...]
sed -e 's/ - /|/' -e 's/\.\/Archives\/Archive//' -e 's/\.\/Archives\/MP3SeriousMusic/SM/' -e 's/\.mp3//g' archive.txt > mp3.txt
[...and, to check for duplicates...]
cut -f2,3 -d\| mp3.txt | sort -f | uniq -d > dupes
grep -f dupes mp3.txt

Last edited by rickh; 12-24-2006 at 11:15 AM.
 
  


Reply



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
AWK script: moving, copying and renaming files uprjamaja Programming 10 12-05-2006 01:06 PM
renaming files starwarsfan982 Linux - Software 7 10-30-2006 02:06 PM
Mp3 group utility canyon289 General 0 08-06-2006 02:58 PM
Advanced file renaming/copying mikepol Linux - Newbie 2 01-09-2006 01:45 AM
shell scripting a DVD copying utility bluefire Linux - General 8 04-05-2004 09:02 AM

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

All times are GMT -5. The time now is 07:39 PM.

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