This commit is contained in:
2025-10-23 21:02:46 +02:00
parent 15abe1f1a7
commit e9d8844327
366 changed files with 123778 additions and 64423 deletions

8
export.sh Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
# Boucle sur chaque ligne
psql -h 127.0.0.1 -d sql -U sql -At -c \
"SELECT id, data::text FROM item" |
while IFS=$'\|' read -r id json; do
echo "$json" | jq -S '.' > "data/json/${id}.json"
done