Mac os x 10.8 archive utility

Shift-click to select a range of files or Command-click to select nonadjacent items. This time, the word Compress is followed by the number of items you selected, such as Compress 5 Items. When the compression is finished, the items are stored in a file called Archive. If you already have an item in that folder named Archive. For example, you could have Archive. One curious aspect of the numbering system is that if you delete the Archive. For example, if you compress three groups of multiple items in a folder, you end up with files called Archive.

Navigation menu

If you delete the zip files from the folder, and then zip another group of items, the new file is named Archive 4. Unzipping a file or folder couldn't be easier. Double-click the zip file , and the file or folder decompresses in the same folder as the compressed file.

If the item you are decompressing contains a single file, the new decompressed item has the same name as the original file. If a file with the same name is already present in the current folder, the decompressed file has a number appended to its name. When a zip file contains multiple items, the unzipped files are stored in a folder that has the same name as the zip file.

Tag: change default behavior of OS X zip

For example, if you unzip a file called Archive. This folder is located in the same folder as the Archive. If the folder already contains a folder called Archive, a number is appended to the new folder, such as Archive 2. Creating a password protected zip file is easy in Mac OS X and does not require any add-ons or downloads. Instead, use the zip utility that is bundled with all Macs. This offers a simple way to protect a zip archive file from unwanted viewing access, as when a user attempts to decompress the contents of the zip archive, the correct password must be entered in order for the archive to extract.

For encrypting multiple files with a password, such as folder or an entire directory, the syntax would be as follows:. These encrypted zip files will maintain password protection across platforms, meaning you can send a protected zip file to a Windows user and they will still need to enter the password in order to view the contents. If you plan on compressing multiple files within a folder, you will want to slightly modify the command with the -er flag like so:. Notice that with a folder of multiple files, you will want to use the -er flag, the addition of the r indicates that zip will recursively compress and password protect all files in the folder.

Despite being created at the command line, you do not need to unzip the file from the terminal, it can be expanded from the Mac OS X Finder or within Windows using standard unzipping apps.

Just double click on the file, then enter the password , and it will decompress. You can also decompress the zip archive from the command line with:. Keep in mind that password protected zip files are not encrypted with some super strong deep encryption method, so if you want a more secure file encryption, you may want to pass a regular zip file through openSSL encryption with des3 or something similar to really make the file secure.

Enjoy this tip? Subscribe to the OSXDaily newsletter to get more of our great Apple tips, tricks, and important news delivered to your inbox! Enter your email address below:. Why do we need to do anything anymore via command line??? Surely Apple include a GUI way of doing this? I had a go at the command line approach and failed. Any help most welcome!! Thank you. I spent too much time trying to do this yesterday based off other website pages and blogs, yours was so straightforward. Will sleep so much better tonight :. So, am I correct in believing there is no built-in way to do this from the GUI without using third-party software?

The problem with all of these password procedures is that gmail will not allow you to attach a file that is a zip file within a zip file. Got three error messages in the terminal:. You have to cd change directory to where the file is or specify the full path. Better yet, before you hit return enter type the Tab key. What I want is an automator workflow finder addon that allows me to right click a zip and add a password.

I too am having problems making this work in Snow Leopard. And I can successfully unzip using Terminal and entering my password. However I cannot simply double click the ZIP file for it to unzip. I get an error Error 1 — Operation not permitted. This leaves me to believe it is a Permissions problem, as suggested above. The permissions for my Desktop are read only for everyone other than the owner me. A password protected archive. Clicking the ZIP-file showed immediately the files in the contents of the archive, without any need to enter a password.

Trying to open one of the files in the content caused a window to open asking for the password on file-level not on archive-level. Using Microsoft OneDrive instead of Dropbox resulted in the same behavior. I am too lazy to test now the other way round, if I would create a password protected ZIP-archive in Windows and send this one to Mavericks but I would expect this way to work.

My conclusion: it seems like the Apple way does not keep the conventions.

File compression is included in the Mac OS

Regards, Claus. An archive made in one operating system is able to open in other operating systems, whether it is password protected or not. Be sure the file did not get corrupted in the transfer process, and be sure to use a compatible zip archive opener utility on Windows you can try something like WinZIP if you have troubles. It worked like a charm. You need to include an asterisk as follows…. I wanted to zip a folder that had subfolders with a password using only OSX Had similar problems to those detailed above. For me this worked:. As mentioned in the article, when typing the password, the cursor will not move typical when working in the terminal.

There are two ways you can solve this:. Instead of just writing the filename, you can put the full path to the file instead. Delete any spaces from the drag and drop. I have an archive that has been created and encrypted on a PC, which contains three different files, one of them with a different password. With terminal, I can unzip with unzip archive.

In snow leopard, the archive is created, but double clicking on it throws an Error 1 — Operation Not Permitted. Hello how do you unzip from command? It asks for the password and verify and zips the file. Keep in mind that password protected zip files are not encrypted with some super strong deep encryption method, so if you want a more secure file encryption, you may want to pass a regular zip file through openSSL encryption with des3 or something similar to really make the file secure.

Enjoy this tip? Subscribe to the OSXDaily newsletter to get more of our great Apple tips, tricks, and important news delivered to your inbox! Enter your email address below:. Why do we need to do anything anymore via command line??? Surely Apple include a GUI way of doing this? I had a go at the command line approach and failed. Any help most welcome!!

Thank you. I spent too much time trying to do this yesterday based off other website pages and blogs, yours was so straightforward. Will sleep so much better tonight :.

ventsonthemo.ml

Unzip almost any archive file | Macworld

So, am I correct in believing there is no built-in way to do this from the GUI without using third-party software? The problem with all of these password procedures is that gmail will not allow you to attach a file that is a zip file within a zip file. Got three error messages in the terminal:. You have to cd change directory to where the file is or specify the full path.

Better yet, before you hit return enter type the Tab key. What I want is an automator workflow finder addon that allows me to right click a zip and add a password. I too am having problems making this work in Snow Leopard. And I can successfully unzip using Terminal and entering my password. However I cannot simply double click the ZIP file for it to unzip. I get an error Error 1 — Operation not permitted.

This leaves me to believe it is a Permissions problem, as suggested above.

The permissions for my Desktop are read only for everyone other than the owner me. A password protected archive. Clicking the ZIP-file showed immediately the files in the contents of the archive, without any need to enter a password. Trying to open one of the files in the content caused a window to open asking for the password on file-level not on archive-level.

Using Microsoft OneDrive instead of Dropbox resulted in the same behavior. I am too lazy to test now the other way round, if I would create a password protected ZIP-archive in Windows and send this one to Mavericks but I would expect this way to work. My conclusion: it seems like the Apple way does not keep the conventions. Regards, Claus. An archive made in one operating system is able to open in other operating systems, whether it is password protected or not.

Be sure the file did not get corrupted in the transfer process, and be sure to use a compatible zip archive opener utility on Windows you can try something like WinZIP if you have troubles. It worked like a charm. You need to include an asterisk as follows…. I wanted to zip a folder that had subfolders with a password using only OSX Had similar problems to those detailed above.

For me this worked:. As mentioned in the article, when typing the password, the cursor will not move typical when working in the terminal. There are two ways you can solve this:. Instead of just writing the filename, you can put the full path to the file instead. Delete any spaces from the drag and drop.

I have an archive that has been created and encrypted on a PC, which contains three different files, one of them with a different password. With terminal, I can unzip with unzip archive. In snow leopard, the archive is created, but double clicking on it throws an Error 1 — Operation Not Permitted. Hello how do you unzip from command? It asks for the password and verify and zips the file. When I double click on the zip file it just opens without asking for a password.?

You saved the password in your keychain when creating the archive, you have to uncheck save password. Got Lion und have a similar problem. The zip file is not! Any ideas why? Is there a remedy to this? Seems easier to just use Stuffit, Unarchiver, or any number of the other free GUI utilities out there.

How To Find Archive Utility On Mac

Meanwhile on my Lion machine I get a file of zero length when Unarchiver is finished ie only the encryption part of this is working. Password protecting zips does indeed work in Mavericks, you must follow the instructions. Before ZIPping, set the permissions for the folder so that you, the user, can read and write in the Get Info panel.