2007 Jan 30

Making a tarball file

Making a tarball and adding a mysqldump to it then naming it as example.tar:


shell> tar cvf example.tar dump.sql


Making a tarball and adding all files in the current directory then naming it as example.tar:


shell> tar cvf example.tar *


Compressing the tarball by zipping it (.gz):


shell> gzip example.tar


Restoring a tarball gzip file example.tar.gz


shell> gunzip example.tar.gz
shell> tar xvf example.tar

0 TrackBacks

Listed below are links to blogs that reference this entry: Making a tarball file.

TrackBack URL for this entry: http://www.tildemark.com/cgi-bin/mt4/mt-tb.cgi/51

Leave a comment

About this Entry

This page contains a single entry by tildemark published on January 30, 2007 3:03 PM.

Cebu Go-Kart Race was the previous entry in this blog.

Loading doskey automatically with CMD is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Recent Activity

Friday

  • tildemark tweeted, "im so sleepy. Zzzzzzzz"

Sunday

  • tildemark tweeted, "some of my scipts are not working with godaddy. but works fine on the others. not mention their poorly coded admin page"

Today

  • tildemark tweeted, "so many pending tasks i need to finish. need more coffee !!!"
  • tildemark tweeted, "@gmtristan i dont think that is true."

Today

  • tildemark tweeted, "how does godaddy subdomain behaves? i have some problems with it on my scripts. it does not seem to accept query strings.."

Monday

  • tildemark tweeted, "i had a hard time removing the error messages generated by surf side kick. i ended up uninstalling most of my applications."

Sunday

  • tildemark tweeted, "i got hit by surf side kick and im getting numerous error messages on my screen. tskkkkk"

Saturday

  • tildemark tweeted, "check boxes, i didn't know they can also be complex"
  • tildemark tweeted, "this smart bro internet speed is depressing, i thinking of filling a complaint to the DTI next week."

Friday

  • tildemark tweeted, "the seminar turned out to be leadership training. it was fun, learned alot. i have already attended numerous seminars but this is different."