<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 11/01/15 19:55, Kiyotaka Nemoto
wrote:<br>
</div>
<blockquote
cite="mid:CAHvOE4ExZiLaYZ8H67c+_6qLkr6EJ9ND8j74pqj0=+mTDexkKQ@mail.gmail.com"
type="cite">
<pre wrap="">Hi Andy,
I wrote a tiny batch script which does what you want.
The script depends on libimage-exiftool-perl package, so please
install the package beforehand.
It's in universe repository, so installation is pretty simple.
$ sudo apt-get install libimage-exiftool-perl
After that, please place the attached script (meta2mp3.sh) somewhere in your PC.
Then make it executable by
$ chmod +x meta2mp3.sh
Please look inside the script.
Around line 42, you will see
newname=`echo "${Track}-${Title}-${Artist}-${Album}.mp3"`
As you guess, if you change the order of variables, you will get any
filename you want.
Usage of this script is simple.
$ meta2mp3.sh *.mp3
will rename all of mp3 files.
Please make backup copy of your salvaged mp3 files first and give it a
try if you like.
My circumstance is Xubuntu 14.04 and it worked well in my circumstance.
Hope this helps,
Kiyotaka
<snip>
</pre>
<blockquote type="cite">
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
</blockquote>
Thanks Kiyotaka,<br>
<br>
Although easytag did the job I have learned something from reading
your script and will try to automate other activities like this,
myself. Very useful thanks<br>
<br>
Andy<br>
</body>
</html>