/ Published in: Bash
                    
                                        
Kudos to http://snipplr.com/view/26670/
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
# Used to backup directory and files
#1. Create the backup directory using mkdir
#2.
cd /source; tar cf - . | (cd /target && tar xf -)
URL: http://snipplr.com/view/26670/
Comments
 Subscribe to comments
                    Subscribe to comments
                
                