use busybox

This commit is contained in:
holzi1005 2025-01-07 16:53:42 +01:00
parent ce13aa03b9
commit 59547f3fb7

View file

@ -12,7 +12,7 @@ inotifywait -m /out -e close_write |
chunk_size="$CHUNK_SIZE"
id="${FILE%.mp4}"
file_size=$(stat -c%s "$file_path")
file_size=$(busybox stat -c%s "$file_path")
num_chunks=$(( (file_size + chunk_size - 1) / chunk_size ))
i=0