Forrest logo
back to the find tool

find:ai:38c78

How to tag a group of files track number in sorted into alphabetical order id3v2
$ find . -type f -exec sh -c 'id3v2 --TPOS "$(basename "$0" | sed 's/${^0-9}*//g')" "$0"' {} \;
try on your machine

This command finds all files in the current directory and its subdirectories, extracts the track number from the file name, and tags the files with the track number in the TPOS field using the id3v2 command.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.

Questions that are answered by this command:

  • how to tag a group of files track number in sorted into alphabetical order id3v2?
back to the find tool