Skip to content

Instantly share code, notes, and snippets.

@ejm554
ejm554 / 1.18.2 Mods.md
Created December 17, 2022 02:02
Forge mods for future consideration

IxDF Community: Observations & Ideas

Created: December 10, 2022 8:30 PM

by EJ Makela, August 2022

Comments or questions? Contact me!

📌 ABOUT THIS ARTICLE

EXAMPLES OF EXPRESSIONS IN EXIFTOOL

  • Author: EJ Makela
  • Creation Date: 2019-02-17

INTRODUCTION

ExifTool allows a user to use "Perl-like" expressions to search and replace text in tags. In the following examples, a file ("image.jpg") was processed using a variety of different strings to see how the results would differ.

The following command was executed, with EXPR substituted with the expression listed in the first column of the table. The values in that column alternate between the substitution operator (s///) or the translation operator (tr///).

##################################################
# Image Capture-Date samples, by filetype
(To-Do: Prioritize tags within each filetype.)
##################################################
---- SUMMARY ----
MOV: Creation Date
JPG, AVI, THM: Date/Time Original
AAE: MDItemFS Creation Date
PNG: Date Created