Re: [newbie] tar help please
Romanator wrote: Thanks for pointing this out. Unfortunately, my printer ran out of ink. I'll have to write this out in long hand. Shake the ink cartridge.. Sometimes it comes back for a while From a cheapskate. MarkP
Re: [newbie] tar help please
Thanks for pointing this out. Unfortunately, my printer ran out of ink. I'll have to write this out in long hand. Cheers! Philip Gabbert wrote: Quite simple .. Tar is an app that gets many people. Got me to until I finally figured it out :) Say you want to tar and zip up /www/ .. All you have to do is cd to /. Then, under linux run: tar -zcvf all_archive.tgz www z - gzip compression c - create archive v - verbose f - archive name the '-' is optional, and is there for backwards compatablility. Simple as that. If you are on a Unix system (Solaris) or have an older version of tar you can run: tar xvf all_archive.tar www gzip all_archive.tar It will create a file called all_archive.tar.gz That's all folks :) -- philip 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 Thanks Barry Eagles may soar, but weasel don't get sucked into jet engines begin:vcard n:#179293;Roman x-mozilla-html:FALSE adr:;; version:2.1 note:(This is email is fueled by Penguin Power Only) fn:Roman - Registered Linux User #179293 end:vcard
[newbie] tar help please
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 Thanks Barry
Re: [newbie] tar help please
Quite simple .. Tar is an app that gets many people. Got me to until I finally figured it out :) Say you want to tar and zip up /www/ .. All you have to do is cd to /. Then, under linux run: tar -zcvf all_archive.tgz www z - gzip compression c - create archive v - verbose f - archive name the '-' is optional, and is there for backwards compatablility. Simple as that. If you are on a Unix system (Solaris) or have an older version of tar you can run: tar xvf all_archive.tar www gzip all_archive.tar It will create a file called all_archive.tar.gz That's all folks :) -- philip 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 Thanks Barry Eagles may soar, but weasel don't get sucked into jet engines
Re: [newbie] tar help please
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