Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
## data-intermediate
|
2 |
+
|
3 |
+
Because some json files are huge, we use tar.zst to package the data.
|
4 |
+
|
5 |
+
1. to compress the data
|
6 |
+
|
7 |
+
```bash
|
8 |
+
tar -I 'zstd' -cvf data-intermediate.tar.zst --exclude='*.md' data-intermediate/ # exclude README.md and challenging_parsing.md
|
9 |
+
```
|
10 |
+
|
11 |
+
2. to decompress the data to `your_folder/`
|
12 |
+
|
13 |
+
first you should make sure `your_folder/` exist. If not, create it.
|
14 |
+
|
15 |
+
silently
|
16 |
+
```bash
|
17 |
+
tar -I 'zstd -d' -xf data-intermediate.tar.zst -C your_folder/
|
18 |
+
```
|
19 |
+
or, with progress verbose
|
20 |
+
```bash
|
21 |
+
zstd -d -c data-intermediate.tar.zst | tar -xvf - -C your_folder/
|
22 |
+
```
|