Replies: 1 comment
-
Sure: yq '.export_locations[].name = .name | .export_locations' examples/data1.yaml -oc
id,path,preferred,name
b3ae3582-00e2-4451-a6c4-57818a47f363,10.180.2.54:/share_9b053a55_6ba2_4298_a5af_a8bf082146e4,True,backupEW3
b0b914aa-558f-41fe-8571-f827f001e6d5,10.180.0.19:/share_9b053a55_6ba2_4298_a5af_a8bf082146e4,False,backupEW3 Explanation:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I have generated an yaml ouput of openstack command that looks incorrect:
I modifed the syntax and now I get an output that looks better:
The next step is to convert this YAML in CSV; this CSV file should look like this:
Can you please advise how to convert the YAML?
Beta Was this translation helpful? Give feedback.
All reactions