Bulk rename title metadata

Started by JOLLYGREENGIANT, April 04, 2022, 09:24:04 PM

Previous topic - Next topic

JOLLYGREENGIANT

I have a directory of TV shows that I would like to rename the title metadata to the name of each episode from a list of titles from a text file. The command I am using is exiftool -@ "D:\VIDEOS\TV\Season1\season1.txt" "D:\VIDEOS\TV\Season1" but all the titles just end up being the last title in the list of episode titles from the text file. So is there anyway of doing what I'm trying to do with the first file in the directory getting the first title from the text file and so on until the end of the list?

StarGeek

No.  The -@ (Argfile) option is just like adding options on the command line.  If you have a list of tag assignments to the same tag, the last one takes precedent over any previous assignment.  See note #1 under the -TAG[+-^]=[VALUE] option.  You would need to make sure each title assignment is matched to a file and separated by an -execute option.

You're probably better off making a CSV file through a spreadsheet program.  Make the first column "SourceFile" with the path to each file and then the second column is Title and put the matching titles there.  You would then use the -csv option to write the data.  See that option and FAQ #26.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

JOLLYGREENGIANT