ouput path and filename

Started by harry, May 23, 2020, 07:46:31 AM

Previous topic - Next topic

harry

Exiftools, a zillion possibliities! I am sure it is very simple but i can't find it.
I have 100.000 photo's and have to delete a lot based on image size

Is it possible to include the directory when a make a file with filename and imagewidth?
This is what i do:

I want all imagesize form all the jpg files in all directories.

exiftool -p   "$filename; $imagewidth" -q -f  >d:\test\all1.txt  -r  d:\photo\*

All help appriciated ;)

thaks

harry

Oke, maybe my brains dissolve with my last cup op coffe but it seems too simple;

$directory is the solution.

Because my testdir had no subdirs exiftools only outputted a dot (.) which of course is the source dir.

StarGeek

Another option would be the FilePath tag.  That will output the absolute directory and filename, not the relative directory.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype