cli-scripts/oggrec
2024-02-29 20:44:48 +00:00

10 lines
134 B
Bash
Executable File

#!/usr/bin/env bash
if [ -z "$1" ]; then
file="outputfile.ogg"
else
file=$1
fi
arecord -f cd -t raw | oggenc - -r -o $file