Results 1 to 6 of 6
-
06-28-2002, 04:47 PM #1Junior Guru
- Join Date
- Jul 2001
- Location
- Somewhere you're not
- Posts
- 239
Creating tarballs (or something like them)...
What is the best way to put all of the files and folders in a directory into one single file? And what is the command to do it on a Linux machine?
-
06-28-2002, 08:03 PM #2Web Hosting Master
- Join Date
- Dec 2001
- Posts
- 1,029
tar czf file.tar.gz directory
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
-
06-28-2002, 08:07 PM #3Web Hosting Master
- Join Date
- Apr 2001
- Location
- Palm Beach, FL
- Posts
- 1,097
or if you want it gzip'd:
tar zcvf file.tgz directory
-
06-29-2002, 11:15 AM #4Web Hosting Guru
- Join Date
- Jun 2002
- Posts
- 289
To clarify allera's post, the first reply already had the gzip switch in, that's what the z is for
The additional switch was v which turns on verify.
-
06-29-2002, 12:50 PM #5Web Hosting Master
- Join Date
- Mar 2002
- Location
- Servers
- Posts
- 806
Originally posted by chirpy
The additional switch was v which turns on verify.× Dedicated Servers × cPanel Shared/Reseller Hosting
× VPS × Backups × Cloud × Colocation × Managed Services
× Webx Networks × Serving world wide since 1997
-
06-29-2002, 01:18 PM #6Web Hosting Guru
- Join Date
- Jun 2002
- Posts
- 289
Quite right, should have checked what _I_ posted when correcting someone