I'm new to Mac OS X and am not sure how to do this:
I have three directories. I want to create a tar/zip file of them so that I can attach them to an email.
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
If you are looking for a GUI solution, simply use the compress command fron the contextual menu.
If you are interested in command-line solutions, several options are possible.
You may of course use the tar command.
tar -zcvf archive.tar.gz folder
But if you are sharing archives, some people may prefer a zip file, that you could create with the zip command
zip -r archive.zip folder