Mac Split Zip Into Multiple Files

  1. Splits (archives created as a set of split files): -s ssize create split archive with splits of size ssize, where ssize nm n number and m multiplier (kmgt, default m), 100k - 100 kB -sp pause after each split closed to allow changing disks WARNING: Archives created with -sp use data descriptors and should work with most unzips but may not work with some -sb ring bell when pause -sv be verbose about creating splits Split.
  2. On your Mac, do any of the following: Compress a file or folder: Control-click it or tap it using two fingers, then choose Compress from the shortcut menu. If you compress a single item, the compressed file has the name of the original item with the.zip extension. If you compress multiple items at once, the compressed file is called Archive.zip.

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

Multiple

This page covers the Linux version of zipsplit.

Instead of using ls and grep and zip's -@, you can use shell globs to select files directly on the zip command line e.g. Zip files.zip file. or zip images.zip.jpg. Also, when using a list of filenames from a file, you can use redirection instead of invoking a separate cat process, zip files.zip -@ zip.lst – steeldriver May 25 '16 at 0:28. Once that is done, you would: Locate and highlight the files and/or folders you want to zip in File Explorer Right click in the highlighted area and choose Create a Split Zip File from the WinZip submenu of the context menu In the Create a Split Zip File dialog that opens, change the file name.

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:

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

How to split zip file

archive.zip is unchanged by this process.

Syntax

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:

Files

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

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

Examples

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.

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.

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

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

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.

How To Split Zip Into Multiple Files

Mac Split Zip Into Multiple Files

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.

Mac Split Zip Into Multiple Files Into 1

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.