|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Staff
Premium Member
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 |
|
|
|
|
|
#2 |
|
Premium Member
Join Date: Jun 1999
Posts: 9,231
|
tar --verbose --create --file=tarball.tar dir_name
HTH |
|
|
|
|
|
#3 |
|
Staff
Premium Member
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.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|