On Sun, 4 Jun 2000, Barry Winch wrote:

>Hi, I've tried looking at the tar man page, but still cant get any joy with
>tar.
>
>I have a directory called archive, with numerous subdirectories. I want to
>save all these files as a single file called all_archive, while preserving
>the dirctory structure and permissions, and then finally compress the whole
>thing. Can some one show me the correct command please

tar cvz /<dir>/all_archive /dir_to_backup

The z in the parameters will immediately do the compressing for you

Paul

-- 
The ultimate proof of love is trust

)0(    [[EMAIL PROTECTED]]    )0(
http://nlpagan.net -  ICQ 147208
Registered  Linux  User   174403

Reply via email to