I tried running this command: rclone -v move --transfers=1 --bwlimit 50M “E:\Stuff” “gdrive:Folder” | tee “C:\RCLogs\rclone.log”, but the command error’d out saying that the tee command was not recognized. I’m running version rclone v1.38-031-gef134660.
I agree. It does look like a learning curve. I am running rclone on Windows 10. Sorry I didn’t specify. Do you have an alternative command or suggestion that I can run to where I can get the output to a log file and print to the command prompt screen? Thank you for the help!
According to a bit of searching PowerShell has a tee command which works just like the unix utility - that should be quite easy to use with only PowerShell to install.
Yes the “remote”:“folder” is confusing it. When I replaced it with “remote:folder” it’s working ! I don’t have the error: Command sync needs 2 arguments maximum and rclone is doing the sync.
So we are making progress, but…
… rclone doesn’t create the "C:\Users\user\Desktop\My Documents\log.log". I tried creating the file log.log and then see if rclone would edit it, but no, it doens’t. After the sync, log.log is still empty. I verified the path and it’s the right one.
Rclone logs to stderr so to capture the log (assuming powershell works something like bash) you'd write this to send stderr to wherever stdout is going
rclone ...... 2>&1 | tee "C:\Users\user\Desktop\My Documents\log.log"
Yes, that it’s! Thanks a lot ncw!
So for others in the same situation the right command is:
rclone sync --dry-run "path to local folder" "remote:folder" --log-level INFO --delete-after --copy-links 2>&1 | tee "C:\Users\user\Desktop\My Documents\log.log"
Don’t use this form "remote":"folder" but that one "remote:folder"