I’m wanting to rename my folder and filename after I finish the record, but I didn’t find any instructions about how I can configure the file. The global variables, etc…

Can someone help me with this?

There is a sample script in this post

Thank you @emrah

I wrote my simpliest as possible:

rm -rf $FOLDER

Only for a test.

This is the configuration:

The videos are recording in /srv/jitsi/jibri/recordings, then I putted the file in /srv/jitsi/jibri/.

I readed the log and nothing strange happened, but the folder was not deleted.

Did I do something wrong?

You’re missing FOLDER=$1 to assign the FOLDER variable to the first argument.