We are using rclone to backup our cloud files to a local storage. We make use of the return code of rclone to determine if the backup succeeded or not in other scripts.
We noticed that it often happens that files that are being listed before it starts, no longer exist when rclone is going to process them (because the cloud storage is being used all the time, which means files can be deleted in the meantime as well).
This triggers “Failed to open: Object Not Found” errors. These errors cause rclone to return an error return code, which makes other scripts fail that depend on it.
To us, that kind of error is not really an error, and should be suppressed.
Is it possible to suppress these kind of exceptions? Or does rclone have different return codes for when errors like these happened and when really bad errors happened?
Thanks in advance!