summaryrefslogtreecommitdiff
path: root/copyPhotos
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-07-19 21:24:44 +0200
committerErich Eckner <git@eckner.net>2021-07-19 21:24:44 +0200
commitd2903c899e69708a6ebae3e5fd2e22657022bef3 (patch)
tree9b194be18e16cd59f6a43ee19b719fa26391a39a /copyPhotos
parente2db71626e62d5bfad27acd518b9f139f4c40a76 (diff)
downloadcopyPhotos-d2903c899e69708a6ebae3e5fd2e22657022bef3.tar.xz
copyPhotos: do not ignore old media file
Diffstat (limited to 'copyPhotos')
-rwxr-xr-xcopyPhotos2
1 files changed, 1 insertions, 1 deletions
diff --git a/copyPhotos b/copyPhotos
index 7351ecc..a2b7507 100755
--- a/copyPhotos
+++ b/copyPhotos
@@ -71,7 +71,7 @@ then
verwendung
fi
-for quelle in $(find /mnt/usb/ -type f \( -iname "*.jpg" -o -iname "*.rw2" -o \( -iname "*.mts" -not -name "00001.MTS" \) \) )
+for quelle in $(find /mnt/usb/ -type f \( -iname "*.jpg" -o -iname "*.rw2" -o -iname "*.mts" \) )
do
datum="$(date -ud@"$(stat -c'%Y' "${quelle}")" '+%Y_%m_%d')"
daten["${quelle}"]="${datum}"