Create Multi Volume Archive On A Mac


Answer :

You can split any file with the split command:



split -b 2048m bigfile.tgz bigfile.tgz.


And you will get:



bigfile.tgz.aa
bigfile.tgz.ab
...


To combine them again:



cat bigfile.tgz.* > bigfile.tgz


It can also be used on Windows with copy /B



Of course, this is not really a multi-part archive, just cutting any file to pieces. Multi-part archives are usually aware that they are part nb 5 is a series, include CRC verification for each file etc. But that is specific to the archive format that you want to use.



Use programs like




  • Keka (archiver for Mac OS X)

  • WinZip Mac

  • built-in Archiver in OS X plus Split & Concat / hjsplit for Windows, Linux, Macs.



To split with the internal zip command on OS X, type this in a terminal:



zip -s 1g BigFile6GB.zip BigFile6GB.iso


Where 1g = split files in 1GB of maximum size.



The result will be 6 files of 1GB each.



Read man zip on terminal to see others options of split size with the internal zip command.



Comments

Popular posts from this blog

530 Valid Hostname Is Expected When Setting Up IIS 10 For Multiple Sites

C Perror Example

Converting A String To Int In Groovy