alirajabi commited on
Commit
b33314e
·
verified ·
1 Parent(s): e6cfd5f

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +17 -69
README.md CHANGED
@@ -1,69 +1,17 @@
1
- # How to Merge and Extract Split tar.xz Files
2
-
3
- Follow these steps to combine and extract your split alibaba_dataset files.
4
-
5
- ## Step 1: Download All Parts
6
- First, ensure all split parts are downloaded to the same directory:
7
- ```
8
- alibaba_dataset_part_aa
9
- alibaba_dataset_part_ab
10
- alibaba_dataset_part_ac
11
- alibaba_dataset_part_ad
12
- alibaba_dataset_part_ae
13
- alibaba_dataset_part_af
14
- alibaba_dataset_part_ag
15
- ```
16
-
17
- ## Step 2: Merge the Split Files
18
- Use the `cat` command to concatenate all parts in the correct order:
19
-
20
- ```bash
21
- cat alibaba_dataset_part_* > alibaba_dataset.tar.xz
22
- ```
23
-
24
- This command combines all parts into a single file named `alibaba_dataset.tar.xz`.
25
-
26
- ## Step 3: Verify the Merged File
27
- Check that the merged file was created successfully:
28
-
29
- ```bash
30
- ls -lh alibaba_dataset.tar.xz
31
- ```
32
-
33
- The file size should be approximately 500GB (the sum of all parts).
34
-
35
- ## Step 4: Extract the tar.xz Archive
36
- Use the `tar` command with appropriate flags:
37
-
38
- ```bash
39
- tar -xf alibaba_dataset.tar.xz
40
- ```
41
-
42
- For progress visibility, add the verbose flag:
43
-
44
- ```bash
45
- tar -xvf alibaba_dataset.tar.xz
46
- ```
47
-
48
- ## Step 5: Verify Extraction
49
- Once extraction is complete, check the extracted contents:
50
-
51
- ```bash
52
- ls -la
53
- ```
54
-
55
- ## Memory-Efficient Options
56
-
57
- If disk space is limited, extract directly without saving the merged file:
58
-
59
- ```bash
60
- cat alibaba_dataset_part_* | tar -xJ
61
- ```
62
-
63
- For large archives that cause memory issues:
64
-
65
- ```bash
66
- tar --use-compress-program="xz -d" -xf alibaba_dataset.tar.xz
67
- ```
68
-
69
- This approach may handle very large archives more efficiently.
 
1
+ # alibaba_dataset
2
+
3
+ ## Dataset Information
4
+ This dataset contains multiple parts of a large archive that need to be combined.
5
+
6
+ ## Reconstruction Instructions
7
+ To reconstruct the original dataset file from the parts:
8
+
9
+ 1. Download all parts (alibaba_dataset_part_*)
10
+ 2. Use the cat command to join them:
11
+ ```
12
+ cat alibaba_dataset_part_* > alibaba_dataset.tar.xz
13
+ ```
14
+ 3. Extract the tarball:
15
+ ```
16
+ tar -xf alibaba_dataset.tar.xz
17
+ ```