3 ms·
Or just use a shell that understands JSON and can just pipe the output to JSON. In Nushell you can query the free space and then add `| to json` and you are don
by thibran 4y ago
Or just use a shell that understands JSON and can just pipe the output to JSON. In Nushell you can query the free space and then add `| to json` and you are done.
- tester756 4y agoWhat do you mean? how it'd work for the "df -h | to_json"? could you please paste the json you're receiving? how does it understand the structure returned yb df -h?