TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [TCLUG:18702] SQOTD (simple Q. of the day)
On Thu, Jun 08, 2000 at 11:47:53AM -0500, Timothy Wilson wrote:
> Hey everyone,
>
> I've got a couple kids would did some C++ programming on my Linux server
> this spring. Now they'd like to take all of their files home with them. I
> want to tar and gzip them, but I can't get the tar command options right.
> ('man tar' didn't help any) My last effort resulting in many pages of
> garbage popping out of laser
> printer.
>
> So, what would I type to archive a users's entire home directory into a
> tar.gz?
>
tar -cvzf home.tar.gz /home/foo
c = create
v = verbose
z = gzip
f= use the next argument as the archive name
last argument is what to archive - it automatically recurses.
Hopefully I didn't miss anything ;)
--
Jim Crumley |
crumley@belka.space.umn.edu |
Work: 612 624-6804 or -0378 |