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
    • Already have a WordPress.com account? Log in now.
    • Wizard Commerce
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Copy shortlink
    • Report this content
    • View post in Reader
    • Manage subscriptions
    • Collapse this bar
%d