Go Back   PCMech Forums > Linux Support > Linux OS and Software Assistance

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 07-26-2001, 08:14 AM   #1
Staff
Premium Member
 
mairving's Avatar
 
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
TAR How to

Okay, I have used tar (-xvf) quite a bit to unpack things. But I have never really used tar to pack things. What I would like to do is this: I have about 700 web pages that are generated from a template file and a perl script. This script takes awhile to run and can't be run on my web hosts site. It is a bit too processor intensive. So I generate the pages and upload them via ftp.

What I would like to do is to put them in a tar file and only upload that file, then I can SSH in and untar them. I have played around with tar and have read the man tar. So what would be the syntax if I wanted to tar a whole directory of files. Thanks.
__________________

Want to Make $$$$ with your Computer? No Risk! Simply press shift-4 four times in a row
mairving is offline   Reply With Quote
Old 07-26-2001, 08:44 AM   #2
Premium Member
 
Statica's Avatar
 
Join Date: Jun 1999
Posts: 9,231
tar --verbose --create --file=tarball.tar dir_name

HTH
Statica is offline   Reply With Quote
Old 07-26-2001, 09:34 AM   #3
Staff
Premium Member
 
mairving's Avatar
 
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
Thanks, bud. I had the tar verbose and create down but I couldn't figure out the filename part.
mairving is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 06:50 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2