pertile153
(Rafael Pertile)
1
How can I make the copyto command show the log in the terminal and save it to a file?
I tried this command, but it doesn't show anything in the terminal, it just stays in the file
!rclone copyto "{src}" "{dest}" -v --stats 5s --log-file /content/copy.log --size-only --transfers 12
If I remove the '--log-file /content/copy.log' it shows in the normal terminal
On Linux you can:
rclone command flags | tee rclone.log
for more details man tee
pertile153
(Rafael Pertile)
3
Thank you for your help in getting this resolved.
In this case I use Google Colab so I have to put '2>&1' before the '| tee'
Example:
rclone command flags 2>&1 | tee rclone.log
1 Like
system
(system)
Closed
4
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.