...
Table of Contents | ||||
---|---|---|---|---|
|
Stop Recording Events
Following Bash Scripts can be used as Stop Recording Events.
Delete file 10 seconds after recording end
Code Block | ||
---|---|---|
| ||
sleep 10 rm -f "$Just_In_Full_Clipname" |
Start Recording Events
Following Bash Scripts can be used as Start Recording Events.
Erase all existing files at destination except new recording
Code Block | ||
---|---|---|
| ||
recordPath=$(echo "$Just_In_Full_Clipname" | rev | cut -d"/" -f2- | rev) find "$recordPath/" -type f -not -name '$Just_In_Clipname' -delete |