gaqvoip.blogg.se

Zip folder mac terminal
Zip folder mac terminal








zip folder mac terminal

It is specified as a number and is in MB by default. The command is as follows: zip -r -s MaximumSize ArchiveName.zip FolderName/Īs the name suggests, the MaximumSize part is the maximum possible size each split file should be. You need only run a simple command to create the split archive, but it’s important that you understand its syntax in order to customize it for your needs. In what follows, we are going to show you how to use a Terminal command to easily create split zip archives of the contents of any folder. There are several third-party apps available that allow you to do this but if you just want to quickly do it without using a third-party app, and don’t mind typing in a command for the purpose, you can easily do so from Terminal.

zip folder mac terminal

What the default utility can’t do is create an archive of a folder that’s split into smaller zip files that can later be extracted as a whole into a single folder. With no UI to speak of, the app works in the background and is fairly basic. OS X comes with the aptly named Archive Utility that can be used to extract contents of compressed zip files, or create zipped archives of your own from your files and folders via the options provided in the right-click context menu.










Zip folder mac terminal