Results 1 to 3 of 3
Hello Everybody,
I want to zip all the websites that are hosted on my servers in such a way that I zip all the individual sites and then create a ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-25-2004 #1Just Joined!
- Join Date
- Feb 2004
- Posts
- 5
using tar command to zip files.
Hello Everybody,
I want to zip all the websites that are hosted on my servers in such a way that I zip all the individual sites and then create a single zip file of all the zip files that have been created. I want to do the operation in a single command. Does anybody know how can that be done ? Is there any way I can do it using the tar command.
If not then also please let me know the next best possible solution to this.
- 02-25-2004 #2Just Joined!
- Join Date
- Nov 2002
- Location
- USA
- Posts
- 99
As far as I know, you can't do that with one tar command. Tar is the best program for the job, and you can just use the 'z' option if you need compression. You'll need to write a shell script to do the whole job.
- 02-25-2004 #3
i would guess first use the tar command that gunzip the tar file. look up some info on these two commands in the man pages tar and gunzip
BIG K aka Kyle
Programming Forums
www.kylekonline.com
Please don\'t PM me for help-- ask in the forums instead!


Reply With Quote
