diff --git a/inotify.sh b/inotify.sh index eb568e3..9aa0ef5 100644 --- a/inotify.sh +++ b/inotify.sh @@ -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