Add exiftool

This commit is contained in:
ritiksahni 2021-01-09 19:33:35 +05:30 committed by GitHub
parent 89b421863f
commit 9069b0c903
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

21
_gtfobins/exiftool.md Normal file
View File

@ -0,0 +1,21 @@
---
description: |
If the permissions allow it, files are moved (instead of copied) to the destination.
functions:
file-read:
- code: |
LFILE=file_to_read
OUTPUT=output_file
exiftool -filename=$OUTPUT $LFILE
cat $OUTPUT
file-write:
- code: |
LFILE=file_to_write
INPUT=input_file
exiftool -filename=$LFILE $INPUT
sudo:
- code: |
LFILE=file_to_write
INPUT=input_file
sudo exiftool -filename=$LFILE $INPUT
---