Author Topic: Question to option -ec  (Read 187 times)

herb

  • ExifTool Freak
  • *****
  • Posts: 327
Question to option -ec
« on: March 06, 2020, 05:34:23 AM »
Hello Phil,

with version 11.91 of Exiftool you introduced a new option -ec in order to escape control characters.
Thanks for this new version.

Sorry, but at the moment it is unclear to me about which control characters we are taking, when these characters are to be escaped for C.
Is it binary characters or "only" characters like LineFeed, CarriageReturn or Tab.

Please give more details.
Thanks in advance and
Best regards
Herb

Phil Harvey

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 16338
    • ExifTool Home Page
Re: Question to option -ec
« Reply #1 on: March 06, 2020, 07:00:37 AM »
Hi Herb,

Control characters are 0x00 to 0x1f and 0x7f.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

herb

  • ExifTool Freak
  • *****
  • Posts: 327
Re: Question to option -ec
« Reply #2 on: March 06, 2020, 08:19:53 AM »
Hello Phil,

Thanks and

Best regards
Herb