Home > Article > Software Tutorial > Can RAR compressed files in separate volumes be merged into one? Recommend 2 methods!
php editor Youzi RAR volume compressed file is a common format in our daily file transfer and storage, but sometimes it is necessary to merge multiple volume files into one for easy management. In response to this requirement, there are two commonly used methods to achieve it: one is to use the built-in function of WinRAR software for merging, and the other is to complete it through command line operation. Below we will introduce these two methods in detail, allowing you to easily merge RAR volume files.
Method 1: Decompress and then recompress
We can decompress the RAR volume file and then recompress it into a compressed package.
Before decompressing the RAR volume file, remember to put all the volumes in a folder, and the file name has not been changed, that is, keep the name in the initial format of "file name.number.rar", satisfying these two items premise, the decompression can be successful.
Then, you only need to decompress the first RAR volume file according to the method of decompressing ordinary compressed packages, and then all the volumes can be decompressed.
Method 2: Use WinRAR decompression software
We can also use the "convert compressed file format" function of WinRAR decompression software to merge RAR volume compressed files.
First, open the WinRAR decompression software and click [Convert Compressed File Format] in the [Tools] list of the menu tab.
After the dialog box pops up, check the "rar" format in the [Compressed File Type] column, or check them all directly, and then click the [Add] option.
After the [Please select files to add] dialog box pops up, find the folder where the RAR volume compressed files are located, then select all the volume files, and then click [OK];
Note that all volumes need to be selected, no omissions can be made, and the file names must also maintain their initial format names, otherwise they cannot be merged.
After selecting the volumes, return to the [Convert Compressed Files] page and click the [Compress] option.
After the [Set Default Compression Options] page pops up, select the "RAR" format under the [Compressed File Format] option, and then click [OK].
Return to the [Convert Compressed Files] page again. If you need to change the storage path of the compressed package after merging the volumes, you can click [Browse] to make changes, and finally click [OK] to start merging.
After the merger is completed, you can see that all RAR volume compressed files have been merged into one compressed package.
It should be noted that if a password is set for the RAR volume compressed file, then when you click [OK] to start merging, a dialog box will pop up, prompting you to enter the password. That is, only by entering the originally set password can the volume files be merged.
So, if you forget the password of a RAR volume compressed file, you will not be able to open or decompress the volume file, but you will also be unable to merge the volume files. In this case, tools are generally needed to solve the problem.
The above is the detailed content of Can RAR compressed files in separate volumes be merged into one? Recommend 2 methods!. For more information, please follow other related articles on the PHP Chinese website!