mp3rename is a command-line utility designed to help keep vast amounts of mp3s easy to read and access by keeping nasty characters and odd formatting conventions away.
-I, --new_id3 Set id3 tags only if there is no current tag. -n, --name_id3 Use id3 tag data to set the filename. -R, --replace <str1>/<str2> Replaces <str1> with <str2> in the filename before parsing.
-p, --prompt Prompt for each change (default). -P, --no_prompt Don't prompt for each change.
Current Version: 3.5 from 2003-09-04, as of 2005.07.24.
debfoster libmp3-info-perl libmp3-tag-perl libterm-readline-gnu-perl
tfe /linux/linux_bin/tgzs/mp3rename-3.5.tar.gz cd mp3rename-*
Tell mp3rename installer that modules are installed already, set its permissions
make nomodules
Install mp3rename globally
cp ./mp3rename.pl /opt/bin/mp3rename
$ tfe /linux/linux_bin/tgzs/mp3rename-3.5.tar.gz mp3rename-3.5/ mp3rename-3.5/CHANGELOG mp3rename-3.5/COPYING mp3rename-3.5/Makefile mp3rename-3.5/README mp3rename-3.5/mp3rename.pl $ acsr readline libterm-readline-gnu-perl - Perl extension for the GNU Readline/History Library $ acsr 'lib.*-perl' | grep mp3 libmp3-info-perl - Perl MP3::Info - Manipulate / fetch info from MP3 audio files. libmp3-tag-perl - Module for reading tags of MP3 audio files % debfoster libmp3-info-perl libmp3-tag-perl libterm-readline-gnu-perl The following extra packages will be installed: libcompress-zlib-perl libunicode-string-perl The following NEW packages will be installed: libcompress-zlib-perl libmp3-info-perl libmp3-tag-perl libterm-readline-gnu-perl libunicode-string-perl 0 upgraded, 5 newly installed, 0 to remove and 15 not upgraded. Need to get 320kB of archives. After unpacking 1184kB of additional disk space will be used. $ make Make options (you type these after 'make'): [If you don't know what this means, type 'make setup'.] setup = Compiles the associated modules. modules = Installs the modules. Run as root. nomodules = Test the mp3rename script and set its permissions. update = Same as nomodules. local = Install the script in the user's bin directory. global = Install the script globally (in /usr/bin/). Run as root. uninstall = Delete the script. clean = Clean the module directories. $ make -n global echo "Installing Globally..." cp ./mp3rename.pl /usr/bin/mp3rename echo "Done." echo ""
Installed MP3::Info from cpan
perl -MCPAN -e 'install MP3::Info'
but found the native Debian package.
Need to uninstall the CPAN MP3::Info.
cd /var/cpan/build/MP3-Info-1.13/ $ make uninstall Uninstall is unsafe and deprecated, the uninstallation was not performed. We will show what would have been done. no packlist file found: at /usr/share/perl/5.8/ExtUtils/Install.pm line 318. make: *** [uninstall_from_sitedirs] Error 2
SYNOPSIS
use ExtUtils::Install; install({ 'blib/lib' => 'some/install/dir' } ); uninstall($packlist);
% perl -MExtUtils::Install -e 'uninstall("MP3::Info")' no packlist file found: MP3::Info at /usr/share/perl/5.8/ExtUtils/Install.pm line 318.
% perl -MExtUtils::Install -e 'uninstall("MP3::Info",1,1)' no packlist file found: MP3::Info at /usr/share/perl/5.8/ExtUtils/Install.pm line 318.
uninstall
uninstall($packlist_file); uninstall($packlist_file, $verbose, $dont_execute);
Removes the files listed in a $packlist_file.
If $verbose is true, will print out each file removed. Default is false.
If $dont_execute is true it will only print what it was going to do without actually doing it. Default is false.
The Term::Readline::Gnu modules need to be manually installed (not in CPAN).
ccd /lib lns libtermcap.so.2.0.8 libtermcap.so ldconfig ldconfig -p | grep -Ei 'termcap|ncureses|curses'
rpmih readline-devel-4.3-3.i386.rpm cd Term-ReadLine-Gnu-1.13/ perl Makefile.PL make ThePkg=$(basename $(pwd)) rm -f /tmp/install.log make install | tee /export/archives/install-logs/$ThePkg.log.1
The MP3::Info modules need to be installed (by root)
perl -MCPAN -e 'install MP3::Info'
Tell mp3rename installer that modules are installed already
make nomodules
Install mp3rename globally
$ make -n global echo "Installing Globally..." cp ./mp3rename.pl /usr/bin/mp3rename echo "Done." echo ""
cp ./mp3rename.pl /opt/bin/mp3rename chmod 755 /opt/bin/mp3rename