Harshavardhana
|
38aec4d875
|
mirror and cp should print size in --json mode. (#1890)
```sh
mc cp -r --json /usr/bin /tmp | jq .
...
...
{
"status": "success",
"source": "/usr/bin/gcm-viewer",
"target": "/tmp/bin/gcm-viewer",
"size": 87128,
"totalCount": 2602,
"totalSize": 677422730
}
```
This allows scripts to build progress around this data.
|
2016-11-20 14:46:24 -08:00 |
|