Skip to content

Instantly share code, notes, and snippets.

@kaidokert
Created August 27, 2019 06:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kaidokert/b4f7bca1e6e496aa61b80686ac991bb6 to your computer and use it in GitHub Desktop.
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