recursive scan ignores folders (at least on windows)

Started by Silent Strider, October 22, 2015, 09:04:48 AM

Previous topic - Next topic

Silent Strider

with "exiftool -csv -r <dir>" I  wanted to go recursively through subdirectories.

I wondered why it was done so fast and then I noticed, that the scan ignores (under Windows) folders starting with a dot.

Example:


the file explorer.exe was in the ".folder"-folder and in the "folder"-folder, but the resursive scan ignored it completely. I know that in Unix such directories are usually system directories and that under Windows creating such a folder is difficult, but I wanted to point that out nonetheless.

Phil Harvey

#1
Yes, the -r option ignores "hidden" directories (names starting with a ".").

This should be mentioned in the documentation.  I will add a note about this.  Thanks for pointing it out.

- Phil

Edit:  I will also enhance the -r option to allow these directories to be processed (by adding "." to the option name, ie. -r. or -recurse.).
...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 ($).