Return to Snippet

Revision: 51348
at September 21, 2011 23:43 by klovera


Initial Code
# Used to backup directory and files 
#1. Create the backup directory using mkdir
#2.
cd /source; tar cf - . | (cd /target && tar xf -)

Initial URL
http://snipplr.com/view/26670/

Initial Description
Kudos to http://snipplr.com/view/26670/

Initial Title
Recursively copy a directory for backup

Initial Tags
Bash, backup, copy

Initial Language
Bash