ExifTool Forum

ExifTool => Newbies => Topic started by: Tr on February 21, 2014, 05:18:25 PM

Title: '>' character treated as unix redirect in list tag
Post by: Tr on February 21, 2014, 05:18:25 PM
Hello:

We are ingesting headers using -csv, modifying cell values, then writing the csv into the headers.  When a '>' character is added as content to an value in a ';' delimited list, it is treated as a unix file redirect and creates a bogus file on disk. 

For this list value below, a file called 'Dark' is created when we write the csv back into the image headers:

C.2.;X.Nebula > Dark

Note: string tag values does not have this issue.  It seems to only affect the list/array tags.

Thanks for any assistance.

Title: Re: '>' character treated as unix redirect in list tag
Post by: Phil Harvey on February 21, 2014, 07:48:15 PM
This works for me:

> cat t1
SourceFile,Keywords
a.jpg,"a;b > c"

> exiftool a.jpg -csv=t1 -sep ";"
    1 image files updated

> exiftool a.jpg -keywords
Keywords                        : a, b > c


- Phil
Title: Re: '>' character treated as unix redirect in list tag
Post by: Tr on February 25, 2014, 03:37:12 PM
sorry.  problem was user error on our end.