What is the problem you are having with rclone?
I am running the following command as an example:
rclone sync /local/ pcloud:remote --exclude /exclude-dir/ --log-file $log --log-level INFO --max-delete 0 --delete-after
If any deletions are required, this halts the deletions and provides an error in my log file as such (example with 3 deleted files):
2019/11/06 ERROR : Got fatal error on delete: --max-delete threshold reached
2019/11/06 ERROR : Got fatal error on delete: --max-delete threshold reached
2019/11/06 ERROR : Got fatal error on delete: --max-delete threshold reached
2019/11/06 ERROR : Cancelling sync due to fatal error: failed to delete 3 files
2019/11/06 ERROR : pcloud root 'remote': not deleting directories as there were IO errors
2019/11/06 ERROR : Fatal error received - not attempting retries
2019/11/06 Failed to sync: failed to delete 3 files
Two things I would like to do (number 1 is far more important and my main reason for posting):
- Output to the log the files that are to be deleted and breaching the threshold. Is this possible?
- These errors cause a fail to sync which means I do not get the INFO of total data transferred e.g.
2019/11/06 INFO :
Transferred: 0 / 0 Bytes, -, 0 Bytes/s, ETA -
Errors: 0
Checks: 42221 / 42221, 100%
Transferred: 0 / 0, -
Elapsed time: 51.9s
Is there a way to still get this info even with a fail?
What is your rclone version (output from rclone version
)
rclone v1.47.0
- os/arch: linux/amd64
- go version: go1.12.4
Which cloud storage system are you using? (eg Google Drive)
pCloud
Any help is greatly appreciated,
Thanks