From 03a836b49c4296e7c621e418f74a14b2f076e3ea Mon Sep 17 00:00:00 2001 From: "Mr. Robot" Date: Sat, 9 Jan 2021 15:36:35 +0100 Subject: [PATCH] add data source for exiftool --- data/exiftool.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 data/exiftool.json diff --git a/data/exiftool.json b/data/exiftool.json new file mode 100644 index 0000000..057f05b --- /dev/null +++ b/data/exiftool.json @@ -0,0 +1,20 @@ +{ + "description": "If the permissions allow it, files are moved (instead of copied) to the destination.\n", + "functions": { + "file-read": [ + { + "code": "exiftool -filename=[output] [file]\ncat [output]\n" + } + ], + "file-write": [ + { + "code": "exiftool -filename=[file] [input]\n" + } + ], + "sudo": [ + { + "code": "sudo exiftool -filename=[file] [input]\n" + } + ] + } +}