How to merge multiple files similar to DDR-dataset.zip.010 into one zip file, and then decompress it
Problem Description
- DDR-dataset.zip.01, DDR-dataset.zip.02, DDR-dataset.zip.03, ..., DDR-dataset.zip.010, how to merge them together and decompress them?
Solution
Windows system
-
On Windows, you can use the copy command to merge split zip files. First, open a command prompt (CMD), then use the cd command to change to the directory containing the zip file, then run the following command:
copy /b DDR-dataset.zip.* DDR-dataset.zip
-
Then, you can use any zip tool (such as 7-Zip, WinRAR, etc.) to extract the merged zip file.
Linux system
-
On Unix/Linux systems, you can use the cat command to merge split zip files. First, open a terminal, then use the cd command to change to the directory containing the zip file, then run the following command:
cat DDR-dataset.zip.* > DDR-dataset.zip
-
Then, you can use the unzip command to unzip the merged zip file:
unzip DDR-dataset.zip
Mac system
-
On Mac, you can also use the cat command to merge split zip files. First, open a terminal, then use the cd command to change to the directory containing the zip file, then run the following command:
cat DDR-dataset.zip.* > DDR-dataset.zip
-
Then, you can use the unzip command to unzip the merged zip file:
unzip DDR-dataset.zip
BTW
- These steps assume that your zip file is split in the correct order, i.e. DDR-dataset.zip.001 is the first part, DDR-dataset.zip.002 is the second part, and so on. The merged zip file may be corrupted if the files are not in the correct order