From cbfbb77e10571744ca31efc5b0e1097ce30821e1 Mon Sep 17 00:00:00 2001 From: Skylar Grant Date: Mon, 24 Jun 2024 18:31:02 -0400 Subject: [PATCH] fix file name --- timelapse/tl-capture | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/timelapse/tl-capture b/timelapse/tl-capture index 96d3b63..136393a 100644 --- a/timelapse/tl-capture +++ b/timelapse/tl-capture @@ -45,7 +45,7 @@ setup_dirs() { capture() { # Capture an image for the timelapse and save it to /tmp/TL-YYYY-MM-DD_HH-MM.jpg - fswebcam -r 1920x1080 -d /dev/video0 /tmp/TL/to-sync/TL-${date}.jpg -F 1 -S 5 + fswebcam -r 1920x1080 -d /dev/video0 $TO_SYNC_DIR/$FILENAME.jpg -F 1 -S 5 } sync() {