How to make inotifywait runs command in queue?
According to this script that moves file automatically right after it is created
cd "a specific folder"
inotifywait -me close_write --format %f . | while read file
do
rclone move "$file" …
done
In case that multiple files are created at the same time or gradually how to make them(the transfer) run in queue?