mirror of
https://github.com/MISP/misp-galaxy.git
synced 2024-11-27 01:07:18 +00:00
19 lines
332 B
Bash
Executable file
19 lines
332 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -e
|
|
set -x
|
|
|
|
# Seeds sponge, from moreutils
|
|
|
|
for dir in clusters/*.json
|
|
do
|
|
cat ${dir} | jq . | sponge ${dir}
|
|
done
|
|
|
|
for dir in galaxies/*.json
|
|
do
|
|
cat ${dir} | jq . | sponge ${dir}
|
|
done
|
|
|
|
cat schema_clusters.json | jq . | sponge schema_clusters.json
|
|
cat schema_galaxies.json | jq . | sponge schema_galaxies.json
|