Mac Split Zip Into Multiple Files

Split -b 4482m TheBigZipFile.zip TheSegment That will leave you with several files called TheSegmentaa, TheSegmentab, etc. To concatenate on a Mac: cat TheSegment. MacBigZipFile.zip And on the. Here's how: Open the folder with files or folders you want to zip up. Select the items you want to include in the zip file and right-click on any one of the items. Select 'Compress (x) Items' from the pop-up menu. Once again, a progress bar will display.

WinZip® makes it easy to create Zip files (.zip or .zipx) that are split into smaller pieces of a size that you specify. There are several reasons why you might want to do this, such as:

  • To assist with large downloads. Some users may have difficulty downloading very large Zip files from web sites, FTP sites, etc. You can use the split Zip feature to break large files into smaller pieces that can be downloaded separately.

  • To overcome email size limits, as an alternative to sharing the Zip file to the cloud. Some email systems limit the size of attachments. If you want to email a large Zip file that exceeds your limit, sharing is usually the easiest solution, but, if that is not an option, you can also split the Zip file into smaller parts and email them separately.

To split an existing Zip file into smaller pieces

If you have an existing Zip file that you want to split into multiple pieces, WinZip gives you the ability to do that.

Into

Using the WinZip Ribbon interface

  1. Open the Zip file.
  2. Open the Settings tab.
  3. Click the Split dropdown box and select the appropriate size for each of the parts of the split Zip file. If you choose Custom Size in the Split dropdown list, the Custom Size (MB) field will become active and allow you to enter in a custom size specified in megabytes.
  4. Open the Tools tab and click Multi-Part Zip File.
  5. In the Split window, browse to the location where you want to create the new split Zip file.
  6. Type in the file name for the new split Zip file in the File name box.
  7. Click OK.
  8. WinZip will create your split Zip file using the size you specified in step 3 as the maximum size for each part. The result will be one file with a .zip or .zipx extension, and additional files with numeric extensions: .z01 or .zx01, .z02 or .zx02, etc.

To create a new split Zip file

You can create a new split Zip file with the WinZip submenu of the context menu.

  1. Open WinZip and follow steps 2 and 3 above (unless you know the size is set as you want it already).
  2. Highlight the file(s) and/or folder(s) you want to use to create a split Zip file in Windows Explorer or on the Desktop.
  3. Right click in the highlighted area and choose Create a Split Zip File from the WinZip submenu of the context menu.
  4. In the window that opens, change the file name and the destination if you wish, and choose other options, then click Create.
Zip

Notes

  • Each of the segments of the split Zip file will have a different extension. WinZip creates files with names like Data.z01 or Data.zx01, Data.z02 or Data.zx02, and so on, except for the very last segment of the new Zip file. The last segment will always have either the .zip or .zipx extension, respectively, based on the compression method used when creating the Zip file (e.g., Data.zip, Documents.zipx).
  • To open the split Zip file, open the file with the .zip or .zipx extension. Don't try to open any of the files with the numbered extensions; WinZip won't recognize them as Zip files.
  • Once the split Zip file has been opened, you can work with it much as you would work with a regular Zip file, except you can't add any new files or remove existing files. Some operations such as creating self-extracting Zip files and editing comments are also disabled for split Zip files.
  • The sizes listed as 1.2MB, 1.44MB, and 2.88MB are approximate. The segments of the split Zip file are sized appropriately to fit on media of the specified size. You cannot, however, use decimal points when specifying sizes in the Other size field.
  • The split Zip file format is an extension of the Zip 2.0 specification. Therefore, some Zip utility programs may not be able to open split Zip files. Please see Split Zip file compatibility information for more details.

On Unix-like operating systems, the zipsplit command splits a single ziparchive into a set of smaller zipfiles.

Into

This page covers the Linux version of zipsplit.

Description

zipsplit is a very simple program which will split an archive into smaller, sequentially-numbered zipfiles. This command can be useful, for instance, if you need to break an archive into smaller archives that fits onto removable media of limited capacity.

zipsplit does not break the individual files in your archive into smaller pieces; therefore, the minimum size of the split zipfiles is the size of the largest file inside the original archive.

Splitting an archive

Let's say you have a zipfile named archive.zip that is about 50 megabytes in size, and you want to split it into pieces that are no larger than 1 megabyte. You could use this command:

...which tells zipsplit to create a sequence of zipfiles, each no larger than 1048576bytes (one megabyte), which collectively contain the same files as archive.zip. The output of this command looks something like:

The result in this case was 66 new files, archive01.zip through archive66.zip, which together contain the same files as archive.zip.

archive.zip is unchanged by this process.

Syntax

Mac split zip into multiple files quickly

Options

-tReport how many files it takes to perform the split, but don't actually split anything.
-iCreate a zip index named zipsplit.idx, and include its size in the first zip file.
-nsizeCreate zipfiles no larger than size bytes. For the split to be successful, size must be larger than the largest file in the original zipfile. Default is 35978 bytes.
-rroomMake the first split file smaller by room bytes. This option can be useful if you intend to store the split zipfiles on removable disks, and you need extra space on the first disk for other software, such as an executable file to decompress the archives. The default value of room is zero.
-bpathOutput zip files into the pathpath.
-pPause between each zip file that is output.
-sPerform a sequential split even if it requires more zip files. In other words, make sure that the order of files in the split archives exactly matches the order of files as they appear in the original archive; do not 'shuffle them around' when splitting them up.
-hDisplay a help message, and exit.
-vDisplay version information, and exit.
-LDisplay software licensing information, and exit.

Limitations

zipsplit does not support splitting archives that are larger than 2 gigabytes.

zipsplit offers very little control over how it decides to split up your archive. If one of the files inside your archive is very large, you may not be able to split the archive at all, because zipsplit cannot span a single archived file across multiple zipfiles.

The default maximum size of a split file is approximately 36 kilobytes, which by modern standards is very small. If you want or need to create splits larger than 36 Kb, you must specify a different maximum size using the -n option.

There is no convenient way to re-assemble a set of split zip archives into a single unified archive. Concatenating them manually and then 'fixing' the concatenated file with zip's -FF option is possible, however. For example, if your split files are named archive01.zip, archive02.zip, etc. you could concatenate them into a new file, whole.zip, with the command:

Mac Split Zip Into Multiple Files 2

...and then 'fix' whole.zip (re-build its index), using the command:

...which would leave you with a re-assembled archive named fixed.zip.

Mac Split Zip Into Multiple Files Free

Examples

How To Zip Multiple Files On Mac

Files

Zip Split Linux

Split the archive /home/user/myarchive.zip into multiple smaller archives, each of that is no larger than 2097152 bytes (2 megabytes). The split files will be written into the current directory.

Same as the above command, but pause between the creation of each split file. This command can be useful on much older systems if the destination of your split files is a floppy disk drive, as it gives you the option to insert a new floppy disk between each split.

Split myarchive.zip into zipfiles no larger than 2 megabytes, and write the split zipfiles into the directory /archive.

How To Split Zip File

Related commands

unzip — List, test and extract compressed files in a zip archive.
zip — A compression and archiving utility.
zipcloak — Encrypt files within an existing zip archive.
zipnote — View, add, or modify a zip file's comments.