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?
No. The -@ (Argfile) option (https://exiftool.org/exiftool_pod.html#ARGFILE) 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 (https://exiftool.org/exiftool_pod.html#TAG---VALUE). You would need to make sure each title assignment is matched to a file and separated by an -execute option (https://exiftool.org/exiftool_pod.html#execute-NUM).
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 (https://exiftool.org/exiftool_pod.html#csv-CSVFILE) to write the data. See that option and FAQ #26 (https://exiftool.org/faq.html#Q26).
Thank you, I got it to work.