/ Published in: Bash
                    
                                        
Create a compressed TAR archive preserving permissions
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
# compress
$ tar -pcvzf <FILE>.tar.gz <DIRECTORY>
# uncompress
$ tar -pxvzf <FILE>.tar.gz
Comments
 Subscribe to comments
                    Subscribe to comments
                
                