Hi,
I am trying to get Exiftool to sort files into a directory hierarchy based on creation date and the User Comment tag:
YYYY-mm Comment1
YYYY-mm other comment
YYYY-mm Bla Bla
But unfortunately I have only been able to create directories with either the creation date
exiftool -o . '-Directory<CreateDate' -d './%Y-%m' -r .
or the User Comment
exiftool -o . '-Directory<UserComment' -d './%Y-%m' -r .
But I didn't get it to work together:
exiftool -o . '-Directory<CreateDate UserComment' -d './%Y-%m' -r .
or
exiftool -o . '-Directory<CreateDate' -d './%Y-%m $UserComment' -r .
I was wondering if there is a way to achieve this.
Thank you very much.
tomey
Hi Tomey,
The application documentation gives all the details, but the bottom line is that you are looking for '-directory<$createdate $usercomment'
- Phil