Pair renaming - how to mark primary file (or filetype) in pairs/triplets?
Question regarding file pair renaming - situation is as follows:
AVI files have two additional corresponding files, so three files for each video:
(1) video_name.AVI
(2) video_name.THM
(3) video_name.XMP
I would like to rename all three in accordance with timestamp, but not timestamp of an AVI file (1) which is recognized as a "primary", but timestamp of a THM file (2).
Problem: AVI file is recognized as primary, while THM and XMP are recognized as file pairs.
Is it possible to mark THM files as primary, so AVI and XMP files are marked as corresponding file pair?
So, instead of:
(1) video_name.AVI OK
(2) video_name.THM OK, file pair
(3) video_name.XMP OK, file pair
I would like to have:
(1) video_name.AVI OK, file pair
(2) video_name.THM OK
(3) video_name.XMP OK, file pair
Positioning THM on top of the list does not help either - as soon as AVI is added to the list it is recognized as a "primary" file.
I believe I know how to address this with manipulation and renaming of extensions before and after, but would like to achieve this without additional steps.
Any suggestion is appreciated - thanks!
AVI files have two additional corresponding files, so three files for each video:
(1) video_name.AVI
(2) video_name.THM
(3) video_name.XMP
I would like to rename all three in accordance with timestamp, but not timestamp of an AVI file (1) which is recognized as a "primary", but timestamp of a THM file (2).
Problem: AVI file is recognized as primary, while THM and XMP are recognized as file pairs.
Is it possible to mark THM files as primary, so AVI and XMP files are marked as corresponding file pair?
So, instead of:
(1) video_name.AVI OK
(2) video_name.THM OK, file pair
(3) video_name.XMP OK, file pair
I would like to have:
(1) video_name.AVI OK, file pair
(2) video_name.THM OK
(3) video_name.XMP OK, file pair
Positioning THM on top of the list does not help either - as soon as AVI is added to the list it is recognized as a "primary" file.
I believe I know how to address this with manipulation and renaming of extensions before and after, but would like to achieve this without additional steps.
Any suggestion is appreciated - thanks!
Reply to #1:
Hi Rastko,
It looks to me (from reading the user guide and a little experimentation) that there's no way to designate a file type as the "primary". If I were you I'd email Kim directly at the support link above with this question, he may answer a little more quickly.
I suspect it can be done with javascript, but only if the .thm files expose their date properties through "app.getItem(number).property" (not real code, but that's the way it would get done if possible). It seems to me that you would have to loop through the filenames in a pre-batch script and capture the necessary properties. I don't have any .thm/.avi/.xmp files on my computer, and I can't seem to find any sample .thm files on the web, so I have not been able to try it.
Anyway, hope this helps, if minimally...
Best,
DF
Hi Rastko,
It looks to me (from reading the user guide and a little experimentation) that there's no way to designate a file type as the "primary". If I were you I'd email Kim directly at the support link above with this question, he may answer a little more quickly.
I suspect it can be done with javascript, but only if the .thm files expose their date properties through "app.getItem(number).property" (not real code, but that's the way it would get done if possible). It seems to me that you would have to loop through the filenames in a pre-batch script and capture the necessary properties. I don't have any .thm/.avi/.xmp files on my computer, and I can't seem to find any sample .thm files on the web, so I have not been able to try it.
Anyway, hope this helps, if minimally...
Best,
DF