find "$DIR" -name "*.mp4" -printf "%P\n" | xargs -i{} basename {} .mp4 | pee 'xargs -i{} mkdir -p /config/rec/{}' 'xargs -i{} cp $DIR/{}.mp4 /config/rec/{}'
inalizing the jibri service operation using command [/config/finalize.sh, /config/recordings/nspbuyqamkwngwlg]
Jibri 2022-03-15 12:26:27.438 INFO: [58] LoggingUtils$Companion$OutputLogger$1$1.call#42: Recording processor for recording of directory /config/recordings/nspbuyqamkwngwlg
Jibri 2022-03-15 12:26:27.438 INFO: [58] LoggingUtils$Companion$OutputLogger$1$1.call#42: copy to destination directory /config/recordings
Jibri 2022-03-15 12:26:27.438 INFO: [58] LoggingUtils$Companion$OutputLogger$1$1.call#42: cp: cannot stat '/vasa_test_117_2022-03-15-12-25-05.mp4': No such file or directory
Jibri 2022-03-15 12:26:27.439 INFO: [46] JibriServiceFinalizeCommandRunner.doFinalize#60: Finalize script finished with exit value 123
JibriServiceFinalizeCommandRunner.doFinalize#44: Finalizing the jibri service operation using command [/config/finalize.sh, /config/recordings/ckctdlbxtcaltmic]
Jibri 2022-03-14 18:45:40.661 INFO: [99] LoggingUtils$Companion$OutputLogger$1$1.call#42: Recording processor for recording of directory /config/recordings/ckctdlbxtcaltmic
Jibri 2022-03-14 18:45:40.662 INFO: [99] LoggingUtils$Companion$OutputLogger$1$1.call#42: moving to destination directory /config/recordings
Jibri 2022-03-14 18:45:40.662 INFO: [99] LoggingUtils$Companion$OutputLogger$1$1.call#42: mkdir: cannot create directory '/config/rec//config/recordings/ckctdlbxtcaltmic/vasa_test_19_2022-03-14-18-44-39': No such file or directory
Jibri 2022-03-14 18:45:40.662 INFO: [99] LoggingUtils$Companion$OutputLogger$1$1.call#42: cp: cannot stat '*.mp4': No such file or directory
Jibri 2022-03-14 18:45:40.662 INFO: [97] JibriServiceFinalizeCommandRunner.doFinalize#60: Finalize script finished with exit value 123