Recursive parsing and creating a CSV

Started by SK, January 09, 2017, 02:55:19 PM

Previous topic - Next topic

SK

My network folders are of the form:

\\mynetwork\photos\1992
\\mynetwork\photos\1993

etc

The command below extracts only photos directory without going down the path. In the example above I want to parse ALL the folders in photos directory (1992 & 1993 and the sub folders as well). What are the options I need to use in the following command?

Quoteexiftool -csv -r \\mynetwork\photos\*.* > photos.csv

Hayo Baan

Have you already tried removing the *.*?
Hayo Baan – Photography
Web: www.hayobaan.nl

SK


StarGeek

To clarify what happened, -r only works on directories and *.* is asking for filenames.
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).

Hayo Baan

Quote from: StarGeek on January 09, 2017, 04:20:06 PM
To clarify what happened, -r only works on directories and *.* is asking for filenames.
Or, more precisely, match anything with a dot in it (which your directories didn't).
Hayo Baan – Photography
Web: www.hayobaan.nl

Phil Harvey

...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 ($).