ExifTool Forum

ExifTool => Newbies => Topic started by: Fulco on November 16, 2017, 09:21:14 AM

Title: Rename MTS-files not working when dropping folder?
Post by: Fulco on November 16, 2017, 09:21:14 AM
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
Title: Re: Rename MTS-files not working when dropping folder?
Post by: Phil Harvey on November 16, 2017, 09:23:03 AM
Hi Fulco,

This is FAQ 16 (https://exiftool.org/faq.html#Q16).

- Phil
Title: Re: Rename MTS-files not working when dropping folder?
Post by: Fulco on November 16, 2017, 12:06:53 PM
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