How To Tar Folders

RegisterLogin
How To Tar Folders
Post Description: How To Tar Folders
Tags: how, to, tar, folders
This Post Was Posted On Sep 25, 2009 By mr.s sanders #2367
i have been wanting to learn how to tar a folder in linux

but im newby so i m not sure what command is the correct one to compress, my friend said to use tar instead of zip if i have linux.

i go t a dedicated server from webune over a year ago and now i want to do some backups and acording to my buddy, the best way to back up my files is using tar

but i have no idea how i go about taring my documents

can you help?
Leave Your Comments
Related Pages: [Add Your Website]
Post New Topic
webune
#2369 1
the command is:

tar

for example, if you want to tar a file you can send this command:

tar -pczf myfiles mybackup.tar.gz

this will create a backup file called mybackup.tar.gz of the directory myfiles/

hope that helps
Sep 25, 2009 Reply Report abuse
©2011 Webune Forums - Fri Dec 23, 2011 3:34 pm
Powered by: Webune Forums V3