How to ignore .DS_Store files when using `zip` command to compress files?

I’m thinking of writing a script which copies all useful files into a temp folder and zip the temp folder. Is there a simpler way?


Source: shell

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.