The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

USAGE

 ametadata <command> [file2 file3 file4...]

The following commands are available:

read

Read metadata and write it to standard output.

update

Read metadata combined with file names from standard input and save it. Run "read" command and see the output for an example.

edit

Read metadata into temporary file, run default editor (configured with EDITOR environment variable) and save the changes to audio files.

update_from_cue

Read metadata from .cue file on standard input and write it to files in current directory. Files are looked for in current directory, track number is identified by leading digits in file name. Number of files must exactly match number of audio tracks in the cue file.

EXAMPLES

 ametadata read *.flac

Replace artist in each .flac file:

 ametadata read *.flac | sed 's/^artist .*/artist Pat Metheny/' | ametadata update

Edit metadata using default editor:

 ametadata edit *.flac

Write metadata from .cue file to audio files:

 ametadata update_from_cue < album.cue