Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Contact Us
Online Help
Domain Status
Man Pages

Virtual Servers

Topology Map

Server Agreement
Year 2038

USA Flag



Man Pages

Manual Reference Pages  -  CDDBTOFILENAME (1)

.ds Aq ’


cddbtofilename - rename files according to cddb web page



<B>cddbtofilenameB> [-v] [-q] [-d] [-a] [-t] [-g] [-f] [-h] [cddbfile|-] [file.mp3...]


cddbtofilename takes data from the cddb ( web page and renames files accordingly.

As cddbtofilename works by scraping the web page, it can easily break if gracenote redesign the web site. If that happens, check the address below for an update.

As cddtofilename uses data from the web page, unlike many other freedb/cddb based tools, it has no need for the original CD.

Input from cddbfile can be either html or formatted output from lynx(1) (either from lynx -dump page.html or from pressing <B>pB> then selecting <B>Save to a local fileB> from within lynx (when you have found the page you want). If raw html is passed to cddbtofilename, it runs lynx to format it before parsing.

MP3::Archive(3) is used for creating filenames and deciding whether a particular track should be treated as an album or non-album track (unless overridden by <B>-aB> or <B>-tB>), see MP3::Archive::Config for details on configuring .mp3archiverc to specify your filename styles.


<B>-vB> Verbose output.
<B>-qB> Quiet (no output). This is the default.
<B>-dB> Dry run. Just prints the changes it would make without actually doing them.
<B>-aB> Treat files as album tracks.
<B>-tB> Treat files as non-album tracks.
<B>-gB> Guess whether to treat files as album tracks or not, based on the <B>currentB> directory of the file.
<B>-fB> If the number of files specified does not agree with the number listed in the cddbfile, normally cddbtofilename will abort. With this option it will warn you then carry on, renaming as many files as it can. Use with care.
<B>-hB> Show a short help message.


None known. Please report any found to


MP3::Archive(3), MP3::Archive::Config(3), freedbtofilename(1), mp3-archive-tools(1), mp3lint(1), lynx(1)


Ian Beckwith <>


cddbtofilename is part of the mp3-archive-tools package.

The latest version can be found at:


Copyright 2003 Ian Beckwith <>

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

Search for    or go to Top of page |  Section 1 |  Main Index

perl v5.20.3 CDDBTOFILENAME (1) 2003-12-12

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.