[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] tar up sites
- Subject: Re: [cobalt-users] tar up sites
- From: "Robert Davis" <rdavis@xxxxxxxxxxx>
- Date: Wed Feb 23 13:59:53 2000
Ahoy Gary
You ask:
> how do i tar up a group of sites?
>
> i want to tar up sites 1-10 in one tar and 11-20 in another etc...
>
> how can i do that?
There are two answers -- a long one, and a short one. Fortunately, the long
one is not too long. Here's how it goes.
telnet to server
su to root
cd /home/sites
tar -cvvf firsttensites.tar site1/, site2/, site3/, site4/, site5/, site6/,
site7/, site8/, site9/, site10/
tar -cvvf secondtensites.tar site11/, site12/, site13/, site14/, site15/,
site16/, site17/, site18/, site19/, site20/
(The use of a directory name always implies that the subdirectories below it
are to be included in the archive)
The short answer is a whole lot quicker, I think. It goes like this:
man tar
Aloha
Davis