How to prevent scanning subdirectories?

Started by Archive, May 12, 2010, 08:54:14 AM

Previous topic - Next topic

Archive

[Originally posted by bogdan on 2008-01-31 17:09:05-08]

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

Archive

[Originally posted by exiftool on 2008-01-31 17:59:24-08]

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

Archive

[Originally posted by bogdan on 2008-01-31 20:34:39-08]

Hi Phil,

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

Greetings,

Bogdan