How to disable jibri random folder generated after recording?

Hi please help this is my probation project.

Can i remove the random folder generated after recording. So i can access all recording files in one folder?because i need to list them to my player.

at this time jibri recording file write inside this directory (jibri/config/recordings/srepweawdj/filename.mp4). what i expect is (jibri/config/recordings/filename.mp4).

Thanks

a sample finalize script

Hi thanks emrah for replying,

I already put finalize.sh inside jibri container (/config/finalize.sh). And when i exec -it inside jibri container, the script is there. but i get this error from log
2020-11-26 08:24:54.931 SEVERE: [75] org.jitsi.jibri.service.impl.FileRecordingJibriService.finalize() Failed to run finalize script: java.io.IOException: Cannot run program “/config/finalize.sh”: error=2, No such file or directory with stack:
java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)

any solution?

Has the script the execute permission?

chmod 755 /config/finalize.sh