summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-04-08 15:41:43 +0200
committerErich Eckner <git@eckner.net>2020-04-08 15:41:43 +0200
commitd1144e82be6c89904afef2ca041af0b6d94b5828 (patch)
tree25eadfbb3edcaeb1a6f4bce338aeedba45a93255
parentea332f0e6ffd1d696f657ddac2e19f5b9081c248 (diff)
downloadcopyPhotos-d1144e82be6c89904afef2ca041af0b6d94b5828.tar.xz
copyPhotos: change temporary directory
-rwxr-xr-xcopyPhotos2
1 files changed, 1 insertions, 1 deletions
diff --git a/copyPhotos b/copyPhotos
index 2283241..a985f64 100755
--- a/copyPhotos
+++ b/copyPhotos
@@ -105,7 +105,7 @@ cd "${zielVerzeichnis}"
echo "${summen}" | \
sha512sum -c
-tmp_dir=$(mktemp -d)
+tmp_dir=$(mktemp -d ~/tmp-dist/copyPhotos.XXXXXXXXXX)
trap 'rm -rf --one-file-system "${tmp_dir:?}"' EXIT
tar -cf - "${!jahre[@]}" --xform='s@^\([0-9]\{4\}\)_@\1/\1_@' | \