BetaONE will rise again!


Reply
  #1  
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
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:52 AM.


Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.