Skip to content

Instantly share code, notes, and snippets.

@kaidokert
Created August 27, 2019 06:07
Show Gist options
  • Select an option

  • Save kaidokert/b4f7bca1e6e496aa61b80686ac991bb6 to your computer and use it in GitHub Desktop.

Select an option

Save kaidokert/b4f7bca1e6e496aa61b80686ac991bb6 to your computer and use it in GitHub Desktop.
Make xml diffable
# install yq.readthedocs.io
find . -iname "*xml" -exec sh -c 'xq . {} | yq -S -y . > `dirname {}`/`basename {} .xml`.yaml' \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment