Hi, i am using your script since a long time to backup websites - now i want to backup my Syncthing, starting with my Smartphone.
There I have more than 1000 Files to Sync - so I got an error: Error: rsync transferred less than $backup_must_contain_files files!
In my case it was related to the thousands separator
I added
file_count=${file_count//./}
to fix it.