![Forrest logo](/images/logo.png)
mid3v2:tldr:45c0b
The command id3v2
is a command-line tool used to manipulate ID3 tags in MP3 files. ID3 tags are metadata embedded within MP3 files that provide information like the title, artist, album, etc.
The command id3v2 ${select}=${string} ${filename1-mp3 filename2-mp3 ---}
is using the id3v2 tool to edit the specified ID3 tag in one or multiple MP3 files.
Let's break down the components of this command:
-
${select}
: This is a placeholder representing the ID3 tag field that you want to modify. For example, you can replace${select}
with--artist
to modify the artist tag, or--album
to modify the album tag. -
${string}
: This is the value you want to set for the specified ID3 tag. For instance, if you want to set the title tag to "My Song", you would replace${string}
with"My Song"
. -
${filename1-mp3 filename2-mp3 ...}
: This is a list of MP3 files that you want to modify. You can specify one or more filenames, separated by spaces, to indicate which files the command should act upon.
For example, suppose you want to set the artist tag to "John Doe" for two MP3 files named song1.mp3
and song2.mp3
. The command would look like this:
id3v2 --artist="John Doe" song1.mp3 song2.mp3
This command will modify the artist tag to "John Doe" for both song1.mp3
and song2.mp3
.