/ Published in: Other
                    
                                        
Zip all files in a directory files into separate archives
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
find . -type f -maxdepth 1 -execdir zip '{}.zip' '{}' \;
# Do all recursive folders
find . -type f -execdir zip '{}.zip' '{}' \;
URL: http://superuser.com/questions/430388/how-to-zip-multiple-files-into-separate-archives
Comments
 Subscribe to comments
                    Subscribe to comments
                
                