Skip to content

Instantly share code, notes, and snippets.

View Vergil333's full-sized avatar

Martin Machava Vergil333

View GitHub Profile
@stenuto
stenuto / timelapse.sh
Created June 18, 2024 20:56
Timelapse script
#!/bin/bash
# Check if interval argument is provided
if [ -z "$1" ]; then
echo "Usage: $0 -int <interval_in_seconds>"
exit 1
fi
# Extract the interval value
interval=$2