Alex Biddle     About     Archive     Feed

Bulk edit mp3 artist on the Mac

So I bought the mp3 album of Die Entführung aus dem Serail but it came with the orchestra as the artist, rather than the composer.

Fortunately if you can open the command line, then you can bulk edit mp3 tags with a program called eyed3, which you can install using brew.

Once you have installed it, you can run the following command in a directory to bulk edit mp3 tags.

find . -print0 | xargs -0 -I{} eyed3 --artist="Wolfgang Amadeus Mozart" --album-artist="Wolfgang Amadeus Mozart" {}
  1. find . -print0 uses the find command to print files in the current directory (.) separated by the null character (0).
  2. The -0 tells xargs to expect inputs delimited by the null character (0). I had to do this, otherwise xargs did not parse special characters in the filenames correctly.
  3. -I{} configures the placeholder in the command (in this example, it puts the filename at the end of the eyed3 command).
  4. The eyed3 command should be self-explanatory.