ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: audiogalaxy on December 02, 2020, 02:27:41 AM

Title: -csvDelim STR --> TAB
Post by: audiogalaxy on December 02, 2020, 02:27:41 AM
Hallo, I don't know how to set "TAB" as a delimiter using the new (great!) feature "[-csvDelim <STR>]"

(OS : Windows / batch )
Title: Re: -csvDelim STR --> TAB
Post by: Phil Harvey on December 02, 2020, 07:40:31 AM
Yes, tabs on the command line are tricky.  I found this (https://superuser.com/questions/240435/how-do-i-echo-a-tab-char-on-a-command-prompt/634826) with a quick Google.

If this doesn't help, then you can make an argfile containing two lines:

-csvdelim
<tab>


and use the exiftool -@ option to read arguments from this file.

But maybe it would be better if ExifTool allowed C-style escapes in the -csvdelim argument.  I'll think about this.

- Phil
Title: Re: -csvDelim STR --> TAB
Post by: Phil Harvey on December 04, 2020, 12:30:29 PM
Version 12.12 enhances the -csvDelim option to allow a tab to be specified with \t.

- Phil
Title: Re: -csvDelim STR --> TAB
Post by: audiogalaxy on December 06, 2020, 03:10:53 PM
Quote from: Phil Harvey on December 04, 2020, 12:30:29 PM
Version 12.12 enhances the -csvDelim option to allow a tab to be specified with \t.

- Phil

I feel like I contributed to the growth of a new better world  8)