From 32f52f3fafe1d28f87d61c2771f7073807551a41 Mon Sep 17 00:00:00 2001 From: jerick Date: Thu, 5 Mar 2026 08:43:45 -0500 Subject: [PATCH] Changed from close_write to moved_to events since we're copying files over --- watch-imports.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/watch-imports.sh b/watch-imports.sh index 2983bb1..9a9ba46 100644 --- a/watch-imports.sh +++ b/watch-imports.sh @@ -150,7 +150,7 @@ fi info "Watching $INCOMING_DIR for new CSV files... (Ctrl+C to stop)" -inotifywait -m -e close_write --format '%f' "$INCOMING_DIR" 2>/dev/null \ +inotifywait -m -e close_write -e moved_to --format '%f' "$INCOMING_DIR" \ | while IFS= read -r filename; do if [[ "$filename" == *.csv ]]; then process_csv "$INCOMING_DIR/$filename"