When I drop MTS-files directly into the Terminal they will be renamed as should be:
exiftool -d %Y%m%d%H%M%S%%-c '-TestName<${DateTimeOriginal}.%e' /Users/Fulco/Pictures/Test/00153.MTS /Users/Fulco/Pictures/Test/00235.MTS
'/Users/Fulco/Pictures/Test/00153.MTS' --> '/Users/Fulco/Pictures/Test/20160228162057.MTS'
'/Users/Fulco/Pictures/Test/00235.MTS' --> '/Users/Fulco/Pictures/Test/20171018191004.MTS'
0 image files updated
2 image files unchanged
If the folder is dropped with the same files into the Terminal nothing happens:
exiftool -d %Y%m%d%H%M%S%%-c '-TestName<${DateTimeOriginal}.%e' /Users/Fulco/Pictures/Test
1 directories scanned
0 image files read
This behaviour happens only with MTS-files both on my iMac and MacBook. I use Exiftool 10.66. Is this normal behaviour?
- Fulco
Hi Fulco,
This is FAQ 16 (https://exiftool.org/faq.html#Q16).
- Phil
I've added -ext "*" --ext DS_Store to the command and now all works fine. Thank you for pointing me in the right direction!
- Fulco