Thread: Tar Archives
View Single Post
  #3  
Old 22nd Jul 02, 01:32 AM
DewLaSing DewLaSing is offline
Junior Member
 
Join Date: Nov 2001
Posts: 29
DewLaSing
Quote:
Originally posted by Shiromagius@Jul 18 2002, 06:02 PM
I am no expert, but when I tar stuff I usually do something along the lines of: tar -cvzf <archive name> <what to tar>. So in your case you might go to your working directory and then do "tar -cvzf myfiles.tar.gz *"
Again, I am no expert, and am not sure if that will grab the folders as well, but its worth a try right?
This is correct....as long as the directory name is in the archive name space, it'll tar everything underneath it

tar -cvpzf <archive name> <what to tar>


i usually add "p" to retain the permissions
Reply With Quote