/ Published in: Bash
                    
                                        
If you need to zip a directory named folderName and ignore all .DS_Store files, then do the following:
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
zip -r newArchiveName.zip folderName -x "*.DS_Store"
URL: http://superuser.com/questions/198569/compressing-folders-on-a-mac-without-the-ds-store
Comments
 Subscribe to comments
                    Subscribe to comments
                
                