[RDD] Batch-renaming of audio files

Alban Peignier alban at tryphon.eu
Sun Jun 12 05:55:37 EDT 2011

On 06/11/2011 04:54 PM, Alan Peterson wrote:

> I want to remove the numbers at the front of the file name and index
> everything with the remaining title-artist information in one big
> batch process; a task handled presumably by the Linux MV or MMV
> commands.

Most of linux distributions provide a "rename" command line [0]. With
this command, you can rename your files byt this way :

rename 's/[0-9][0-9]-(.*)/$1/' *

More details in this piece of shell : https://gist.github.com/1021387


0. perl debian package provides one of the possible alternatives
Alban Peignier - alban at tryphon.eu

Tryphon : Radio, Web and Free Software

More information about the Rivendell-dev mailing list