Win-Issue with CSV import masked sourcefile

Started by jammer, June 04, 2014, 02:23:13 PM

Previous topic - Next topic

jammer

Phil:

Win7-64  Exiftool: 9.62
I am having issues again using a masked sourcefile spec in a csv file.  It was fixed in 9.58.
===================
D:\UserData\exif_use_case>exiftool -ver
9.62

D:\UserData\exif_use_case>dir
Volume in drive D has no label.
Volume Serial Number is F476-AD0E

Directory of D:\UserData\exif_use_case

06/04/2014  01:29 PM    <DIR>          .
06/04/2014  01:29 PM    <DIR>          ..
02/18/2014  03:29 PM         1,747,173 008.jpg
04/12/2014  12:07 PM         1,421,466 025.jpg
04/16/2014  02:37 PM                78 GenInfo.csv
               3 File(s)      3,168,717 bytes
               2 Dir(s)  422,155,620,352 bytes free
D:\UserData\exif_use_case>type GenInfo.csv
SourceFile,Creator,CreatorAddress,CreatorCity
*.jpg,MyName,MyAddress,MyCity

D:\UserData\exif_use_case>exiftool -v5 -csv=GenInfo.csv .
Reading CSV file GenInfo.csv
======== ./008.jpg
No SourceFile './008.jpg' in imported CSV database
(full path: 'D:/UserData/exif_use_case/008.jpg')
======== ./025.jpg
No SourceFile './025.jpg' in imported CSV database
(full path: 'D:/UserData/exif_use_case/025.jpg')
    1 directories scanned
    0 image files read

-have I missed something/has the behavior of the command changed?
Jon A. Miller

Phil Harvey

Hi Jon,

Really?  "*.jpg" worked at one time in the SourceFile column?  I am surprised.

You can use "*" to match any file, but other than that I wasn't handling wildcards in the SourceFile column.

Can you do what you want with "*" instead?

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

jammer