DragonFly On-Line Manual Pages
FREEDBTOFILENAME(1) User Contributed Perl Documentation FREEDBTOFILENAME(1)
NAME
freedbtofilename - rename files according to freedb web page
SYNOPSIS
freedbtofilename [-v] [-q] [-d] [-a] [-t] [-g] [-f] [-h] [freedbfile|-]
[file.mp3...]
DESCRIPTION
freedbtofilename takes data from the freedb (http://www.freedb.org) web
page and renames files accordingly.
As freedbtofilename works by scraping the web page, it can easily break
if they redesign the web site. If that happens, check the address below
for an update.
As freedbtofilename uses data from the web page, unlike many other
freedb/cddb based tools, it has no need for the original CD.
Input from freedbfile can be either html or formatted output from
lynx(1) (either from "lynx -dump page.html" or from pressing p then
selecting Save to a local file from within lynx (when you have found
the page you want). If raw html is passed to freedbtofilename, 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 -a or -t), see MP3::Archive::Config for details
on configuring .mp3archiverc to specify your filename styles.
OPTIONS
-v Verbose output.
-q Quiet (no output). This is the default.
-d Dry run. Just prints the changes it would make without actually
doing them.
-a Treat files as album tracks.
-t Treat files as non-album tracks.
-g Guess whether to treat files as album tracks or not, based on the
current directory of the file.
-f If the number of files specified does not agree with the number
listed in the freedbfile, normally freedbtofilename will abort.
With this option it will warn you then carry on, renaming as many
files as it can. Use with care.
-h Show a short help message.
BUGS
None known. Please report any found to ianb@nessie.mcc.ac.uk
SEE ALSO
MP3::Archive(3), MP3::Archive::Config(3), cddbtofilename(1),
mp3-archive-tools(1), mp3lint(1), lynx(1)
AUTHOR
Ian Beckwith <ianb@nessie.mcc.ac.uk>
AVAILABILITY
freedbtofilename is part of the mp3-archive-tools package.
The latest version can be found at:
http://nessie.mcc.ac.uk/~ianb/projects/mp3-archive-tools/
COPYRIGHT
Copyright 2003 Ian Beckwith <ianb@nessie.mcc.ac.uk>
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.
perl v5.20.2 2003-12-12 FREEDBTOFILENAME(1)