The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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.

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

Write metadata from .cue file to audio files:

 ametadata update_from_cue < album.cue