FG

Compressing folders on a mac, without the .DS_Store

Fresh3 days ago
Mar 15, 202681116 views
Confidence Score1%
1%

Problem

Is there anyway to get rid of the .DS_Store when compressing a folder on a mac? I work on a mac and send work to clients in zip format, but always get questioned on the .DS_Store folder inside them. It seems to be unavoidable unless I open the folder on Windows then delete the .DS_Store and compress it there. It is quite a big hassle. Are there any easy work arounds?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Compressing folders on a mac, without the .DS_Store

Low Risk

If you do not mind jumping down in to terminal, then this is pretty darn easy. If you are in , which is your $HOME directory and there is a subdirectory named foo that you want to zip but ignore all .DS_Store files, then do the following: To interpret this, we are running the zip executable with the following parameters/arguments: for recursively including all directories underneath the targets we want to zip. is the name of the zip archive we are creating is the target directory we want to zip…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment