Skip to content
Wizard Commerce

Wizard Commerce

Magento / Adobe Commerce Specialists

  • HOME
  • About Us
  • Services
  • Contact
  • Blog
Posted on 7th Feb 2025 by wizardcommerce

DS_Store files in a tar on MacOS

If you use the Terminal to create tar or zipped tar files on your Mac, then you might be aware that hidden Spotlight .DS_Store files also get sucked into the archive.

To prevent this from happening, try:

COPYFILE_DISABLE=1 tar <rest of tar command goes here>

Share this:

  • Share on X (Opens in new window) X
  • Share on Facebook (Opens in new window) Facebook
Like Loading...

Related

CategoriesUnix

Post navigation

Previous PostPrevious How to calculate the size of a database in MySQL
Next PostNext Pure CSS ellipsis when text doesn’t fit block
Create a website or blog at WordPress.com
  • Reblog
  • Subscribe Subscribed
    Wizard Commerce

    Have a WordPress.com account? Log in now.

  • Wizard Commerce
    Copy shortlinkView post in Reader
    Manage subscriptionsSign upLog in
    Report this content
    Collapse this bar
%d