Skip to content

Instantly share code, notes, and snippets.

@mjrich
Last active December 13, 2015 17:18
Show Gist options
  • Save mjrich/4946970 to your computer and use it in GitHub Desktop.
Save mjrich/4946970 to your computer and use it in GitHub Desktop.
shell script to back-up directory as tar
tar -cjvf BACKUP_file.tar.bz2 ./public_html #back-up website
tar -xjf archivefile.tar.bz2 #uncompress file
@mjrich
Copy link
Author

mjrich commented Feb 13, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment