TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [TCLUG:5185] making tarballs
> So, let's say you've got a directory full of
> files and a number of subdirectories. What command would you use to create
> a tarball and gzip it? Thanks.
Well, 'tar zcf <tarball>.tar.gz <directory>' usually works for me. The
'z' option compresses it with gzip for you. Otherwise, you can pipe a
tar through gzip or something (but I don't like typing that much stuff
;-)
--
.------ ----- ---- ---- --- --- -- -- - - - - -
| Mike Hicks | Linux User Since: 1.2.13
: http://umn.edu/~hick0088 | mailto:hick0088@tc.umn.edu
` icq:6883760 | Current Kernel: 2.2.3