mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-28 08:50:32 +02:00
Update sortjson.sh
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
for files in */*.json; do
|
for files in */*.json; do
|
||||||
/./c/Tmp/jq-win64.exe --sort-keys . "$files" > config2.json && cat config2.json > "$files" && rm config2.json
|
jq --sort-keys . "$files" > config2.json && cat config2.json > "$files" && rm config2.json
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user