Create zip file on mac mountain lion
That is very helpful! I was a little taken aback when I found that normal 'tar' didn't have the --tape-length flag, even for historical purposes.
Knowing about gnutar is very helpful, thanks for pointing it out! Lost your password?
Powered by the Parse. More Mac Sites: Macworld MacUser iPhone Central. Create split zip files from the command line Mar 20, '13 One alternative is to create split zip files using the zip tool provided with OS X.
Create split zip files from the command line - Mac OS X Hints
I'm on the road with only my iPad, so I havent been able to test this. Create split zip files from the command line 8 comments Create New Account. The following comments are owned by whoever posted them. This site is not responsible for what they say. Create split zip files from the command line Authored by: Authored by: Strod on Mar 21, '13 The way to do this, after you create TheBigZipFile.
To concatenate on a Mac: One word: Mom Authored by: Or use rar Authored by: Many thanks! The tar archiver also does not handle extended attributes correctly.
It also saves but does not restore resource forks. So that is not useful either. It seems that the Archive Utility. It DOES handle resource forks and extended attributes correctly. But using the Archive Utility from the Finder is clumsy and unreliable when there are several folders to archive. If you select a range of folders, and then right click one of them and select Compress, it will make one big zip file rather than individual zip files for each folder. But if you right click on one folder after another to archive them separately, the Finder gets confused and some of the archives quit with errors.
The only work around seems to be to wait for each archive to finish before starting the next. This can take hours of attention.
Fortunately, there is a better way. Save expanded files: Zip archive After archiving: The utility will make individual zip archives of A, B, C, If there are more than four, the archive utility will make them four at a time. It seems to handle the manipulation of multiple folders well -- no errors. These seem to be the same zip archives as would be made if you right clicked the folders A, B, And it seems that the preferences you set in Archive Utility do not affect its behavior when used from the Finder right click menu. I haven't tested this one.
Hint Options
This is the first I've heard that in Can someone confirm this? I think even if it's not correct, the hint itself still has utility. The following comments are owned by whoever posted them. This site is not responsible for what they say. Use Archive Utility to make zip backups Authored by: I usually go with ditto -ck --sequesterRsrc to create the same type of zip files as the Finder. What sequesterRsrc does is it takes all those meta-data files the ones beginning with. That way they don't get in the way as much if you send your zip archive to a non-Mac user.
Why the Time Machine hate? Authored by: Anonymous on Oct 06, '10 Well, I don't have a Leopard machine on hand, but I just tested tar under Snow Leopard and it seems to save and restore resource forks. It's using the AppleDouble format internally from the looks of it. As an alternative to tar, you might consider xar which has always supported resources. I think Apple now uses that format internally in installer packages.
Why not make a Service with Automator? Search Advanced. From our Sponsor Latest Mountain Lion Hints Click here for complete coverage of Lion on Macworld. I had a go at the command line approach and failed. Any help most welcome!!
How to Zip and Unzip Files on Your Mac
Name required. Mail will not be published required. All Rights Reserved. Reproduction without explicit permission is prohibited. Enter your email address below: Posted by: Kaiser says: January 7, at 2: SorinS says: April 23, at Steve says: January 7, at 3: Titans says: Jax says: November 7, at 9: PH says: November 7, at January 13, at 9: Rachael says: January 26, at 9: Bob A says: June 1, at 6: January 8, at Jim says: January 9, at 6: January 9, at Will says: October 30, at 9: Jack says: January 10, at No name says: May 11, at 3: January 10, at 5: Chris says: January 14, at Joe says: January 28, at 8: TJ says: February 7, at Banki says: February 23, at 4: SamuraiJack says: August 11, at 5: Eve says: February 26, at 3: February 26, at 8: February 26, at 9: March 2, at 9: March 25, at 6: Kit says: October 31, at Michel Bujardet says: March 31, at June 27, at 1: Adam says: September 18, at 7: October 7, at 6: