gitnow/scripts/record.sh

14 lines
220 B
Bash
Raw Normal View History

2024-09-22 14:55:28 +02:00
#!/usr/bin/env zsh
set -e
# Loop through each file in the folder
for file in "vhs"/*; do
# Check if it is a file (not a directory)
if [[ -f "$file" ]]; then
echo "Recording: $file"
vhs "./$file"
fi
done