Archiving files in parts, self-extracting. How to merge rar archives? How to open an archive of several parts 7z


We encounter archives that are divided into parts all the time today, and sometimes confuse inexperienced users. However, the process of merging files will not be a problem for you if you have special programs at hand.

You will need

  • PC with Winrar or 7-zip installed, multi-volume archive.

Instructions

  • If WinRar is installed on your computer, then you can use the most popular program to solve such problems. To do this, place all parts of the archive in one folder, select the first one and right-click on it. Then select extract to current folder from the menu. After this, WinRar will determine that all parts of the archive form one whole and will assemble it automatically.
  • It happens that a multi-volume archive is damaged and cannot be collected. In this case, you can also use the help of the Winrar program and try to restore it. To do this, run this program and find the damaged file. Select it and click the “Fix” button in the top panel; you can also recognize it by the image of the first aid kit. After this, WinRar will begin to repair the file, and if the damage is not too severe, it will succeed.
  • There are alternative programs for solving such problems - one of the most popular is 7-zip. It is free, and working with it will differ little from the previous example. In order to collect the archive, place all the files in one folder, as in the case of WinRar. Then select the first file and right-click. A context menu will appear - select 7-zip in it, then “Unpack here”, after which the archive will begin merging.
  • When working with multi-volume archives, you should not make mistakes common to novice users. First of all, before the process of merging files, check whether all parts are present. A distinctive feature of the last part is that its size will always be smaller than the size of the remaining archives. Using this feature, you can easily determine whether you have all the volumes. Also, if after unpacking you encounter a file with an iso extension, you should not unpack it, despite the fact that it looks like an archive - this is a special file that can be opened using programs that work with disk images.
  • Tip added on March 4, 2012 Tip 2: How to merge or split a file Certain large files are quite problematic to write to some media. In addition, when sending data by email or transferring it using file-sharing resources, users are often faced with file size limitations.

    You will need

    • 7-zip.

    Instructions

  • This problem can be solved with the help of archiving programs. The easiest way is to simply pack the required data into an archive using the maximum compression mode. Unfortunately, some file types are difficult to compress. If you encounter this situation, split the file into several elements.
  • If you need to separate a group of files, copy them to a separate folder. This will save you from having to process each file separately. Install the 7-zip program by downloading it from the official developer website.
  • Right-click on the directory in which the files to be archived are located. Hover over the 7-zip field and select “Add to archive.” Enter the name of the future archive in the first field.

  • Select the file compression level. When dividing a folder into elements, you can use the “No compression” technology. Find the "Split into volumes" field. Set the maximum size of each element yourself. Its choice depends on the purpose of dividing files into fragments. Please note that the size is specified in bytes, i.e. to set the maximum size to 50 MB you need to enter the number 50000.
  • After preparing the parameters, click Ok. Wait until the required number of archives are created. To connect all the parts into a single whole, use the same program.
  • Right-click on the first fragment of the archive. Go to the 7-zip submenu and select "Extract files". In the new window, specify the directory into which this archive will be unpacked. Click Ok.
  • It is worth noting that you can work with files without first extracting them. To do this, go to the contents of the first element and open the desired file. The program will automatically connect the necessary fragments and provide you with access to the selected information.
  • How to merge or split a file - printable version

    A RAR file is a compressed archive. The archiver converts many folders and files into one smaller file. To view and use the contents of an archived file, you will need special file compression utilities (programs) that are compatible with this format.

    Instructions

  • These utilities can extract multiple files and then merge them into one archive file. Many such utilities can unzip a file, but only a few can create an archive. If you need to merge multiple files back into RAR format, use the WinRAR program. In addition, you can combine several files into one ZIP, TAR or 7Z archive file if you use the 7-Zip program.
  • Download the WinRAR program from the RarLab website and install it. WinRAR is a commercial program, but the website provides a free trial.
  • Open WinRAR and select one of the archive files you want to merge. Click the Extract To button.
  • Click the New Folder button. Name the folder and click OK to extract the files.
  • Repeat these steps to extract other archived files. Specify the folder you created in the previous step to extract each of the files.
  • Click the Add button and select the files in the created folder. Click OK.
  • Select the archive location from the drop-down menu. Click the RAR radio button and select OK to create the merged file. You can also use the 7-Zip program, to do this, proceed to the next step.
  • Download the 7-Zip program from the 7-Zip website and install it on your computer. 7-Zip is a free program and there are versions for Windows, OSX, Linux and other operating systems.
  • Place each of the files you want to merge into one directory. Depending on the number of items in each archive, placing them in a new folder without any other files will help make things easier.
  • Select files in RAR format. Right-click on the file, select the 7-Zip Extract Here option. Wait for the extraction to complete.
  • Hold down the Ctl key (or Command on OSX) and select all extracted files. Right-click on the file, select the 7-Zip Add to option, depending on the type of archive file you want to create. Wait for the compression to complete. The new merged file will appear in the directory.
  • Some archivers, for example WinRAR, allow you to create multi-volume archives, which, for example, make it possible to download the archive in parts. If a volume is damaged, you will need to re-download only this volume, and not all volumes of the archive (in addition, if recovery information is added to the archive, WinRAR sometimes allows you to fix damaged or even completely missing volumes of a multi-volume archive). Archivers that support multi-volume archives allow you to specify the desired volume size, so you can create volumes suitable in size for removable drives or the requirements of specific programs/sites. For example, you can create an archive with volumes the size of a CD/DVD, or in the mode of automatically determining volume sizes, archive directly onto removable media (for example, flash drives), so that when space on one media runs out, archiving will continue on another until it is created full archive. Another example of the use of multi-volume archives is associated with sending data over the Internet, for example, by e-mail. It often happens that a mail server allows you to attach several files to a letter, but the size of each file should not exceed a certain size. In this case, a multi-volume archive will come to the rescue. A multi-volume archive is an archive of computer programs and data, consisting of several parts (volumes), i.e. from several separate files. But, consisting of several files, such an archive is still a single archive, simply cut into several parts. Unlike simply several independent archives, there is an internal relationship between the parts of a multi-volume archive, allowing archivists to work with several files as if they were a single archive. You can successfully unzip a multi-volume archive only if you have all its parts, and it is highly desirable that these parts are in the same place (in the same folder); if at least one part is missing, the archiver will perceive the archive as damaged (under-downloaded). The main reason for all the problems that arise for users who are faced with a multi-volume archive for the first time is due to the fact that most beginners simply do not understand that they are dealing with something - something new to them, and it’s easier for them to think that this is a very ordinary archive that they have been able to work with for a long time. And their initial confusion very quickly gives way to indignation that for some reason something still doesn’t work. And they begin to search for the culprit... How to distinguish a multi-volume archive from several ordinary ones?
    ▪ in the Twinpix library - visually, by the color coloring of the file type (extension) (Windows with default extension settings does not show: Control Panel -> Folder Options -> View -> Hide extensions for registered file types. By unchecking the checkbox for this option, you can make file extensions visible). So, in the information message RAR format file (PART01) with a size of 100.00 MB, the RAR text is green, and PART01 is magenta (fuchsia, magenta):

    ▪ visually, by file name. All parts of one multi-volume archive created by the archiver always have similar file names. A distinctive feature of a multi-volume RAR archive is the presence of the .partNNN suffix in file names, where NNN is the volume serial number. This number can be seen at the top of the information window if you call it with the WinRAR “Show information” command on the archive volume; the number may be useful if files with volumes are renamed for some reason and you have to restore their numbering manually;
    ▪ by logical conclusions. If the user clearly indicates that he has posted parts of the archive, he must be believed.
    ▪ by mathematical calculations. If you open the first part (.part001) of a multi-volume archive in WinRAR and look at the “Information” about the archive, then “Size in archive:” will be larger than the size of this file and will be equal to the total size of all parts (files) of the archive. Unpacking a multi-volume archive :
    ▪ Install and configure WinRAR (so that when you right-click on the archive, the context menu that appears contains the items “Extract files” or “Extract to current folder”). If, when installing the WinRAR program, the context menu was not configured, then you will have to open the archive in the WinRAR program and select the “Extract to specified folder” option in the “Commands” menu.
    ▪ Download all parts (volumes) of the archive separately.
    ▪ In the root directory of the system drive (usually drive C:), create a folder with an arbitrary short (no more than 8 characters) name containing only Latin letters (case does not matter) and numbers, for example, ARCHIV.
    ▪ Place all parts of the archive in this folder.
    ▪ Check that there is enough free space on the disk for the unpacked archive.
    Unpacking the archive with preliminary renaming of parts of the archive. If there are many volumes (more than a dozen), then I recommend first renaming all the files so that their names match the XXX.rar pattern, where XXX is the volume number in the archive. Manual renaming is not so much a tedious task as it is tedious, but believe me, “Paris is worth a mass.” After renaming, the folder should contain files named 001.rar, 002.rar, ... (or 1.rar, 2.rar, ..., or 01.rar, 02.rar, ...). To batch rename files, you can use any suitable program, for example, the corresponding function of a file manager. Unpacking the first volume will automatically unpack the entire archive. If you are friends with Total Commander, then all preparatory operations will take very little time.
    Unpacking an archive without first renaming the files. Start unpacking from the 1st volume by using the context menu items “Extract files” or “Extract to current folder”, or by opening the archive in WinRAR and selecting the “Extract to specified folder” option in the “Commands” menu. When the archiver asks for the 2nd part of the archive, also known as the 2nd volume (this is how the unpacker’s information message “Insert disk part2” should be understood), specify the desired file using the “Browse” button. Next, follow the instructions of the unpacker; Ignore discrepancies in file names - required by the unpacker and actual ones: only the correct order in which the volumes are unpacked is important. The most important thing at this stage is not to mix up the volumes. For correctly named volumes, the “Browse” button will not be needed: unpacking the first volume will automatically unpack the entire archive. P.S. Keep in mind that the number of archive volumes depends on the total volume of files being archived and on the packer settings and is not directly related to the number of files being archived. In other words, the number of files obtained after unpacking the archive extremely rarely (and even then by chance) coincides with the number of parts of the archive. Good luck! You will succeed!

    Using the program WinRAR. Let's now look at two more features of this program - archiving a file in parts, and creating a self-extracting archive.

    Archiving a file in parts

    If the file is large and it is impossible to transfer it due to size limitations of mail or a file hosting service, then you can split it into parts, more precisely, into several archives, and transfer these archives.

    In the WinRAR program you can do archiving in parts. Let's do this now.

    To archive files you will need WinRAR archiver installed. If you don’t have it, you can download the archiver from the link at the beginning of the article.

    In the window My computer , or in the program Total Commander, right-click on the file that you want to archive in parts, and select the item in the context menu WinRAR - Add to archive . If you have an English version of the archiver, then you need to select Add to archive .

    A window appears Archive name and parameters , in which you open the tab Are common, if it is not already open by default. In the English version of the archiver this tab is called General .

    At the bottom, find the window under the item. In the English version the inscription will be Split to volumes, bytes .

    In this window, enter the size of the parts into which your file will be divided.

    For example, if you have a file of 6GB in size, and you need to split it into archives of 600 MB each, that is, into 10 archives, then enter the number 629145600 in the box, since 600 MB is equal to exactly this number of bytes: 1 MB is equal to 1024 KB, and 1KB is equal to 1024 bytes.

    Now press the button OK. That's all, the file is archived and will be placed in several archives. The names of these archives will be the same as the name of the source file, with the addition of a dot ending: .part1, .part2, .part3 and so on.

    You can safely transfer these archives, or keep them for yourself.

    Combining them into one file is also very simple. Place all these archives in one folder, and unzip any of them. You don't need to unzip them all, just one is enough. All the parts will then come together, and you will have a complete file.

    Self-extracting archive

    You've probably seen some archives that you could double-click on to automatically unarchive them? There is no need to right-click and look for unzipping items. You don’t even need to have the program itself - an archiver for unpacking. Everything is inside such an archive.

    The self-extracting archive has the extension exe. To extract such an archive, you double-click on it with the left mouse button, and in the window that appears, select the location where this archive will be unpacked.

    If the destination folder is left as default, the archive will be unpacked into the same folder where it is located, which is very convenient.

    Now let's figure out how to create such an archive. Everything is very simple. In folder My computer , or in the program Total Commander, right-click on the file or folder that you want to archive, and then select WinRAR - Add to archive .

    Naturally, you must have WinRAR installed. Next, put a tick next to the item Create SFX archive , and press OK .

    The abbreviation SFX stands for self-extracting, and is translated from English as self-extracting .

    Upon completion of archiving, you receive this archive in the same folder where the original file or folder is located.

    Self-extracting archive in parts

    You can also archive the file in parts so that the first archive is self-extracting. This can be easily done by combining the method of archiving a file in parts with the method of creating a self-extracting archive.

    Right-click on the file and select WinRAR - Add to archive , and in the window at point Divide into volumes of size (in bytes) specify the size of the archives. And on the right side, put a tick in front of the item Create SFX archive . Next click OK .

    The self-extracting archive will be ready in parts.

    You can get more detailed information in the “All courses” and “Utilities” sections, which can be accessed through the top menu of the site. In these sections, articles are grouped by topic into blocks containing the most detailed (as far as possible) information on various topics.

    You can also subscribe to the blog and learn about all new articles.
    It does not take a lot of time. Just click on the link below:

    How to assemble an archive from parts?

    Master's answer:

    On a forum or any other resource with a limited file attachment size, archives are often divided into several parts for ease of transfer. This practice is also widely used when it is necessary to write large files to removable media.

    In order to assemble an archive from parts, you will need the WinRar program. If it is not yet installed on your computer, then download it from the Internet, and then start the installation process. You will need to follow the steps required by the installer wizard and perform file associations in order to quickly access the program menu.

    In order to create an archive from parts yourself, you need to open the folder with the desired file (if there is not one file, but several, then for convenience it is better to place them in the same directory). Right-click on the selected files or the folder containing them. In the WinRar menu, select “Add to Archive”. A small window will appear. You must enter the name of the archive. If you want to send these files via the Internet, then it is best to enter the name of the archive in Latin. On the adjacent tabs you can configure archive settings. If necessary, you can set a password and encrypt the content. This is very convenient if the contents of this archive are intended for a specific person, but cannot be sent personally. If necessary, you can add files using the “Browse” button in the main tab.

    The archive can be divided into parts. The size of this part of the archive is indicated in bytes. In new versions of the program, a possible size option for a part of the archive is already indicated; it serves as a template for splitting. This is very convenient, especially if you need to burn it to a floppy disk, CD or DVD, and so on.

    Once you are sure that you have configured all the settings correctly, click the “OK” button. It would be a good idea to check after creating the archive whether everything is working correctly. To unzip the archive, select all parts and select "Unzip". Specifying the directory of the future location, extract the file. If possible, check its functionality after unzipping.