Thread

Posted on Thu Jan 31 19:09:05 2008 by bogdan
How to prevent scanning subdirectories?
Assuming I'm inside "C:\xx" directory (aka working directory). This directory contains some image files and one or more subdirectories. Inside these subdirectories, there are image files too, of course.
Being inside working directory, normaly I would type (example):
exiftool -exif:iso *.*
-as assumed, this shows ISO values of all image files inside working directory. And as assumed, subdirectories are not scanned...
The problem is, if subdirectories contain point character in their name (their names are divided with point), then subdirectories are scanned too!?
Windows cmd-line syntax treats "*.* as "all files (only)" -subdirectories excluded. So, for example:
rename *.* *.jpeg -will rename all files inside working dir only (leaving subdir content untouched).

One could say (with exiftool), use dir syntax, like: "exiftool -exif:iso c:/xx/". In this case subdirs ain't scanned. But, when directories are deep nested and contain long names, then this is not very practical, though.
In short: is there some exiftool command for preventing scanning subdires? Something like "--r"?
Thank you for answering.

Bogdan
Direct Responses: 6980 | Write a response
Posted on Thu Jan 31 19:59:24 2008 by exiftool in response to 6978
Re: How to prevent scanning subdirectories?
Hi Bogdan,

From inside the working directory, use "exiftool -exif:iso ."

This will process all files in the current directory, but not subdirectories.

In both Windows and Unix, "." may be used to represent the current directory (and ".." is the parent directory).

- Phil
Direct Responses: 6983 | Write a response
Posted on Thu Jan 31 22:34:39 2008 by bogdan in response to 6980
Re: How to prevent scanning subdirectories?
Hi Phil,

This is exactly what I've needed. Thank you so much :-)

Greetings,
Bogdan
Write a response