Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
http://coolestguidesontheplanet.com/how-to-comp...
HOME
ALL POSTS
OS X
WORDPRESS
WEBDEV
SEO
IOS
CONTACT
1 of 12
30/04/2015 10:02
http://coolestguidesontheplanet.com/how-to-comp...
zip-tar-dmg-osxcompress-formats[/caption]
Since OSX is based on Unix there are a of ways to compress files and folders, below are a
few options using the command line interface. The default command line application
interface in OSX is the Terminal and stored in /Applications/Utilities.
We should always compress files and folders to save on file size and ensure the contents are
captured and delivered or stored as one monolithic file. A compressed file which contains
files and folders is generally referred to as an archive.
2 of 12
30/04/2015 10:02
http://coolestguidesontheplanet.com/how-to-comp...
To extract
unzip archive_name.zip
If you want to make a zip without those invisible Mac resource files such as _MACOSX or
._Filename and .ds store files, use the -X option in the command so:
To extract
3 of 12
30/04/2015 10:02
http://coolestguidesontheplanet.com/how-to-comp...
To extract
GZ
Without the tar
To extract
gunzip archivename.gz
To mount
4 of 12
30/04/2015 10:02
http://coolestguidesontheplanet.com/how-to-comp...
To view
ls -lah /Volumes/archive_name/
To Eject
You can also use a number of dierent formats for creating a .dmg
UDZO Compressed image (default)
UDRO Read only image
UDBZ Better compressed image
UDRW Read/Write image
UDTO DVD disk image
Like
Tweet
Related
5 of 12
30/04/2015 10:02
http://coolestguidesontheplanet.com/how-to-comp...
Cats: OS X, Tech
Tags: compress, OSX, tar, zip
6 of 12
30/04/2015 10:02
15 Comments
http://coolestguidesontheplanet.com/how-to-comp...
Share
Recommend 1
Login
Sort by Newest
3 months ago
Neil Gee
No tar is better
Reply Share
3 months ago
Thank you!
Reply Share
5 months ago
So this isn't working in Mac OS X Yosemite. Awesome. Another bug with the new operating system...
Since Yosemite is a princess, it requires the 'sudo' user command prepended to fix this issue. If not, it will
throw this error: tar: Failed to open 'archive_name.tar.gz'
Edit:
nevermind. It was an issue with the CHOWN of my folder being set to _www, instead of my user
account... : D
Reply Share
Kourasmenos Tempelaros
a year ago
1
Pawe P.
a year ago
Thanks!
Reply Share
dek
a year ago
this really is a very helpful article. all other guides on the web only explain the .zip way. but tar is a lot
better.
Reply Share
Chris M
2 years ago
30/04/2015 10:02
http://coolestguidesontheplanet.com/how-to-comp...
Subscribe to the
Latest Posts
Add in your email address...
Keep Me Posted!
Find us on Facebook
Overview of
how JQuery
selects HTML
elements on the
page
Coolestguidesontheplan
COOLEST
GUIDES
et.com | Neil Gee
Like
Comment
Share
8 of 12
30/04/2015 10:02
http://coolestguidesontheplanet.com/how-to-comp...
LATEST
POPULAR
COMMENTS
9 of 12
30/04/2015 10:02
http://coolestguidesontheplanet.com/how-to-comp...
Using ScrollReveal.js in
a WordPress Genesis
Theme
November 6, 2014
Make a passwordless
SSH Connection
between OSX 10.10
Yosemite and Linux
Server
October 27, 2014
10 of 12
30/04/2015 10:02
http://coolestguidesontheplanet.com/how-to-comp...
Tags
10.6 apache
Coolest
unstoppables
11 of 12
WordPress Yahoo
30/04/2015 10:02
http://coolestguidesontheplanet.com/how-to-comp...
Copyright 2015 Neil Gee - All Rights Reserved! Powered by CGP - Hosted by Servint
12 of 12
30/04/2015 10:02