summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMroik/PositiveC <mroik@delayed.space>2023-12-19 16:29:15 +0100
committerGitHub <noreply@github.com>2023-12-19 10:29:15 -0500
commit71332cd70a6aec7d57164735555259108a4c310d (patch)
tree0125d4f382cdeeab728ac482a0391bee79065428
parent399e380c96f6bf245b48f3f76f003d1beaca369d (diff)
Enable large file support for exiftool (#465)
-rwxr-xr-xconfig/preview_file.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/preview_file.sh b/config/preview_file.sh
index bb7cc7b..ed06b75 100755
--- a/config/preview_file.sh
+++ b/config/preview_file.sh
@@ -41,6 +41,10 @@ IFS=$'\n'
# * pipefail causes a pipeline to fail also if a command other than the last one fails
set -o noclobber -o noglob -o nounset -o pipefail
+# Enable exiftool large file support
+shopt -s expand_aliases
+alias exiftool='exiftool -api largefilesupport=1'
+
FILE_PATH=""
PREVIEW_WIDTH=10
PREVIEW_HEIGHT=10