From 18abdbd0d840d598cbcb4d9660050b8d964cd428 Mon Sep 17 00:00:00 2001 From: Danilo Reyes Date: Tue, 16 Jul 2024 16:47:34 -0600 Subject: [PATCH] enable moving files --- photos-metadata.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/photos-metadata.sh b/photos-metadata.sh index 281e9d2..3dd0694 100755 --- a/photos-metadata.sh +++ b/photos-metadata.sh @@ -182,7 +182,7 @@ for year_dir in "$base_dir"/*/; do target_directory=$(echo "$line" | cut -d' ' -f4-) target_path="$base_dir/$target_directory" echo "$target_path" - # mkdir -p "$target_path" && mv "$photo" "$target_path/" + mkdir -p "$target_path" && mv "$photo" "$target_path/" fi done <"$temp_file"