My case:
In the files folder, a user had opened an excel file and even after closed the file, Windows kept one copy the temporary and hidden file. The RClone script was stopped because it stopped in this file.
Suggestion:
Would it be possible to create a parameter (for example: -skip-locked) in case RClone detects that the file is in use “skip” this file?
2019/02/03 14:43:06 INFO : One drive root ‘DRAGIOVANNA’: Waiting for checks to finish
2019/02/03 14:43:06 INFO : One drive root ‘DRAGIOVANNA’: Waiting for transfers to finish
2019/02/03 14:43:06 ERROR : Attempt 3/3 failed with 2 errors and: failed to open source object: open \?\D:\DOCTOS\GESTAO\DIGITALIZADOS […] Docto.XLSX: O arquivo já está sendo usado por outro processo.
2019/02/03 14:43:06 Failed to copy: failed to open source object: open Docto.XLSX: O arquivo já está sendo usado por outro processo.
No such information was created as:
“Transferred:, Errors:, Checks: and Elapsed time:”
Is this the default?
or summary is not generated in this case?
Is that my script uses this final information to detect the end of the log file and since it was not generated, the script got “frozen”.
I use Windows and am testing an app I’ve developed. It reads the log to check the uploads …
And as there is no final summary it has left no return of the log.
I use the summary as a ‘flag’ that processing has ended. was the only standard I could define. If there was another end-of-file flag would be great, rsss …
Hmmm, ok … I was talking about ALL the contents of the files …
Here are the commands:
rclone copy “D: \ bk” “onedoctos: DOCTOS” --filter-from = inc \ nobkp.txt --size-only --ignore-case --log-file = copy01.txt --log-level INFO - -progress
Did not generate the abstract at the end …
the last lines of the log.
2019/02/04 18:16:20 INFO: One root drive ‘DOCTOS’: Waiting for checks to finish
2019/02/04 18:16:20 INFO: One root drive ‘DOCTOS’: Waiting for transfers to finish
2019/02/04 18:16:20 ERROR: Attempt 3/3 failed with 182 errors and: generalException: Could not find property named ‘quota’ on type ‘oneDrive.item’.
2019/02/04 18:16:20 Failed to copy: generalException: Could not find property named ‘quota’ on type ‘oneDrive.item’.
Strange that this log did not give the file locked error of excel, it looks like it was aborted before reaching it.
Summary appears at the prompt but not at the end of the log file
Ok, I know how to get the contents of the log file. The point is that the summary is not generated at the end … is this normal? In case of errors the summary is not generated?
It sounds like your program is coded to look okay the end for completion messages but then you’re relying on placement in a log to determine if it’s ended. You should be looking at the process termination. Or maybe I misunderstood?