Create sortjson.sh

This commit is contained in:
Alexandre
2022-03-15 11:06:06 +01:00
committed by GitHub
parent dd938f11b3
commit 67c632d6a3

5
.tools/sortjson.sh Normal file
View File

@@ -0,0 +1,5 @@
#!/bin/bash
for files in */*.json; do
/./c/Tmp/jq-win64.exe --sort-keys . "$files" > config2.json && cat config2.json > "$files" && rm config2.json
done