From 302b8baac981adb1b5c51fe2b95d8bb0af987ee8 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 2 Jun 2024 01:45:42 +0200 Subject: [PATCH] up --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6ec73fe..090f6d4 100644 --- a/README.md +++ b/README.md @@ -35,8 +35,8 @@ Voila un sample des données parsées [geodvf/sample.json](geodvf/sample.json) Cette commande ouvre les fichiers csv et chie des inserts mysql en batch echo "MYSQL=mysql://user:password@host/database?charset=utf8mb4&connectionLimit=10" > .env - node parse.js geodvf/2023.csv.gz > geodvf/2023.sql - pv geodvf/2023.sql | mysql -u user -ppassword -h host database + node parse.js geodvf/2022.csv.gz | gzip > geodvf/2022.sql.gz + pv geodvf/2023.sql.gz | gunzip | mysql -u user -ppassword -h host database ``` CREATE TABLE IF NOT EXISTS dvf (