Sep-27-2023, 05:01 PM
From what I've read, rclone doesn't produce any output (unless you are doing rclone cat) but it does log to stderr. Try running rclone and redirecting stderr to a file.
If the file contains the information you want, there are many things you could do. You could process the file after the rclone command is complete and produce a file that could be used for making plots. Maybe save the data in CSV format so it could be opened in excel, or use plotting tools available in Python. You could read the log information as it is produced and update a live plot. The live plot could be a pretty Matplotlib plot, or it could be a simple ASCII bar chart.
Output:rclone copy /local/path remote:path 2> statistics.txt
Look at the statistics.txt file. Does it contain the information you need?If the file contains the information you want, there are many things you could do. You could process the file after the rclone command is complete and produce a file that could be used for making plots. Maybe save the data in CSV format so it could be opened in excel, or use plotting tools available in Python. You could read the log information as it is produced and update a live plot. The live plot could be a pretty Matplotlib plot, or it could be a simple ASCII bar chart.