php editor Apple teaches you to solve the problem of excessive file compression: try to use the volume compression function to divide a large file into several small files, effectively reducing the size of a single file and improving compression efficiency. This method not only facilitates transmission and storage, but also better protects file integrity.
But sometimes the file is too large, or the file is still too large after compression due to limitations of the transmission platform. What should I do? In this case, we can use the "volume compression" function of the compression software to solve the problem.
Today I will share the WinRAR volume compression method.
1. Select the file or folder that needs to be compressed, right-click the mouse and select [Add to compressed file] in the menu.
.
2. After the dialog box pops up (as shown below), click the [General] interface, and then click [Browse] to select the saving path of the compressed file. It is best to create a separate folder to save it, and do not put it with other files. Together.
After selecting the path, click the drop-down arrow of [Split into volumes, size] below, and then select the size of each sub-package, such as 5M, or you can set it yourself according to the size of the file.
Finally click [OK] to start volume compression.
.
3. The process of volume compression takes a little longer than compressing a single file. If you want to do other things in the middle, you can click [Backstage] to enter background compression.
.
4. After the sub-volume compression is successful, you can see that the file is divided into multiple "xxx.partxx.rar" sub-package files.
Remember not to modify the name of the compressed package casually. If you want to move the compressed package, all files must be placed in the same directory, otherwise decompression errors will occur.
.
Some friends may also ask, how to decompress the compressed package after volume compression?
To decompress a divided compressed package, you can still follow the method of decompressing a single compressed package. Just select the first compressed package to decompress .
But remember that the name of the sub-volume compressed package cannot be changed, and all sub-packages must be placed in one folder, otherwise the decompression will fail.
.
If a password is set for the sub-volume compressed package, a dialog box for entering the password will also pop up during decompression. You only need to enter the password once to decompress all sub-packages.
.
But if you forget the originally set password, you will not be able to decompress the volume compressed package. WinRAR does not have a forget password option, so you must remember or save it when setting the password.
If what you forget is not the password of the partitioned compressed package, but the ordinary compressed package, we can use other tools, such as the Pepsi Niu RAR password recovery tool, to help retrieve the password.
Tool link: Pepsi Niu RAR password recovery tool
After importing the compressed package file, select the retrieval method provided in the tool,
The above is the detailed content of Is the file still too large after compression? Use volume compression. For more information, please follow other related articles on the PHP Chinese website!