A Perl script to manipulate tags on a variety of audio file types.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.



A Perl script to manipulate tags on a variety of audio file types.

Requires the following Perl modules:

  • Modern::Perl
  • Getopt::Long
  • Pod::Usage
  • Data::Dumper
  • File::stat
  • File::Temp
  • File::Slurp
  • Date::Manip::Delta
  • Date::Manip::TZ
  • Audio::TagLib
  • TryCatch
  • HTML::Restrict

Installing Audio::TagLib might be problematic and seems to require the prior installation of the TagLib package (libtag1-dev on Debian).

Update 2016-12-09

It looks as if Audio::TagLib has vanished from the CPAN repository. It is not clear why, although the module has apparently not been actively maintained for some time. Looking at the equivalent interface libraries for Python and Ruby, neither have they. This in itself does not seem to be a reason to drop it, since the TagLib API hasn't changed to my knowledge.

The module can still be downloaded and installed thus:

$ wget http://search.cpan.org/CPAN/authors/id/G/GL/GLEACH/Audio-TagLib-1.65.tar.gz
$ tar -xvzf Audio-TagLib-1.65.tar.gz
$ cd Audio-TagLib-1.65/
$ perl Makefile.PL
$ make
$ make test    # should get the result 'PASS'
$ sudo make install


The script is intended to be self-documenting. Run:

fix_tags -help

for basic help, or use perldoc in this way:

perldoc -oman /path/to/fix_tags

to obtain the full help in Man format.