Hi,
        You will need tar -X.

        You can also try something like this:

        find /home -type d ! -name shao -mindepth 1 -maxdepth 1 | xargs tar cvf 
home.tar

        which will tar all the dirs in /home except the dir /home/shao.

        Hope this helps.

Shao.

[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
> Hi
> 
> what is needed in order to tell tar not to include specific
> files/directories?  i am intending to copy the /home directory off of one
> server and onto another but i do not want to copy everything in /home.
> 
> thanx
> 
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 
> 

-- 
____________________________________________________________________________
Shao Zhang - Running Debian 2.1  ___ _               _____
Department of Communications    / __| |_  __ _ ___  |_  / |_  __ _ _ _  __ _ 
University of New South Wales   \__ \ ' \/ _` / _ \  / /| ' \/ _` | ' \/ _` |
Sydney, Australia               |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, |
Email: [EMAIL PROTECTED]                                                  |___/ 
_____________________________________________________________________________

Reply via email to