-
-
Notifications
You must be signed in to change notification settings - Fork 732
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
borg diff: add json output #3765
Comments
Did you check whether we have json output support for that? |
I did indeed check the
So no luck there I am afraid. |
OK, if we do not have that yet, adding json output seems to be a good idea. |
In that case I would also like to request including both the uncompressed and compressed size of each change. As far as I can understand the Borg source code, the current output refers to the uncompressed size. |
I propose to add an option
Given this way, users will get easy way to parse the output, cause they will have separate groups and fields. Also for not-human-readable format we can add an option |
That should either be
No, that looks rather akward to parse and recombine to something useful. The whole |
Hmm, looks like this can be close, see merged PRs.
|
Right now borg diff shows something like this:
And that's great. Except these human readable size informations are a bit tough for a machine to parse. Ideally there would be an option to output machine readable sizes (aka just the bytes, without any prefix).
Speaking of prefix: Are these kB as in 1000 Bytes or KiB as in 1024 Bytes? While at it maybe this could be clarified, too. Thanks!
The text was updated successfully, but these errors were encountered: