Cannot run commands on a directory that contains MTS files

Started by Exifdude, January 04, 2019, 05:20:32 PM

Previous topic - Next topic

Exifdude

I'm running into an odd error and it is only happening on a folder that contains MTS files.  When running similar commands on folders that contain other file types i.e. MOV and JPG I do not have any issues.  When I run these commands on a single MTS file within that folder it works fine.  Also depending on the file size, some are over a gig, it takes a very long time to process just one file but I assume that is expected.

1st Command

C:\X\Y>exiftool "-filemodifydate<DateTimeOriginal" -extractEmbedded -v "D:\MTS"
    1 directories scanned
    0 image files read

C:\Users\Office>exiftool "-filemodifydate<DateTimeOriginal" -extractEmbedded -v "D:\MTS\File.MTS"
======== D:\MTS\File.MTS
Setting new values from D:\MTS\File.MTS
    1 image files updated

2nd Command

C:\Users\Office>exiftool -d %Y%m%d_%H%M%S "-filename<${DateTimeOriginal}000%-c.%e" -extractEmbedded -v "D:\MTS"
    1 directories scanned
    0 image files read

C:\Users\Office>exiftool -d %Y%m%d_%H%M%S "-filename<${DateTimeOriginal}000%-c.%e" -extractEmbedded -v "D:\MTS\File.MTS"
======== D:\MTS\File.MTS
Setting new values from D:\MTS\File.MTS
'D:\MTS\File.MTS' --> 'D:/MTS/20190104_123000000.MTS'
    1 image files updated

Phil Harvey

...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Exifdude