ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: SK on January 09, 2017, 02:55:19 PM

Title: Recursive parsing and creating a CSV
Post by: SK on January 09, 2017, 02:55:19 PM
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
Title: Re: Recursive parsing and creating a CSV
Post by: Hayo Baan on January 09, 2017, 03:17:03 PM
Have you already tried removing the *.*?
Title: Re: Recursive parsing and creating a CSV
Post by: SK on January 09, 2017, 03:34:54 PM
Yes that worked! Thank you
Title: Re: Recursive parsing and creating a CSV
Post by: StarGeek on January 09, 2017, 04:20:06 PM
To clarify what happened, -r only works on directories and *.* is asking for filenames.
Title: Re: Recursive parsing and creating a CSV
Post by: Hayo Baan on January 09, 2017, 04:26:32 PM
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).
Title: Re: Recursive parsing and creating a CSV
Post by: Phil Harvey on January 10, 2017, 07:07:28 AM
This is common mistake 2c (https://exiftool.org/mistakes.html#M2).

- Phil