FG
💻 Software

Create a tar file for compressing files and directories on Mac OS X

Fresh7 days ago
Mar 15, 2026296942 views
Confidence Score1%
1%

Problem

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. Any ideas?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Create a tar file for compressing files and directories on Mac OS X

Low Risk

OSX ships with . From the Terminal, you can do this: Replace with whatever you want to call the newly created archive and with whatever is the name of the folder you want to archive. (It's common to end the archive name with or , but that's not required.)

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment