Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Below Bash Sample Scripts can be found.

Please be very careful when working with Bash Script and always test your Scripts before going into production.

Stop Recording Events

Following Bash Scripts can be used as Stop Recording Events.

Delete file 10 seconds after recording end

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

recordPath=$(echo "$Just_In_Full_Clipname" | rev | cut -d"/" -f2-  | rev)

find "$recordPath/" -type f -not -name '$Just_In_Clipname' -delete
  • No labels