rclone/rclone

Add Drive ID to rclone size output

已关闭

#5,429 创建于 2021年6月27日

 (11 条评论) (0 个反应) (1 位负责人)Go (5,090 个派生)batch import
enhancementgood first issuehelp wantedwaiting for reply...

仓库指标

星标
 (57,185 个星标)
PR 合并指标
 (平均合并 32天 20小时) (30 天内合并 23 个 PR)

描述

The associated forum post URL from https://forum.rclone.org

N/A

What is your current rclone version (output from rclone version)?

1.55.1

What problem are you are trying to solve?

I'm working on a tool that uses rclone size in generate a report of drive sizes. This is hard to do because the output doesn't have information that correlates the data to the drive. The end result is a log file of count:bytes pairs that don't indicate which drive they belong to.

How do you think rclone should be changed to solve that?

Modify rclone size to include the Drive ID. For example:

Drive ID: ABC
Total objects: 13629
Total size: 116.126 GBytes (124688889989 Bytes)

Or, with the --json flag:

{"id": "XYZ","count":1,"bytes":0}

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

贡献者指南