[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-developers] Shel command
- Subject: [cobalt-developers] Shel command
- From: "Or-Or" <or-or.list2@xxxxxxxxxxxxxx>
- Date: Thu Aug 21 06:38:57 2003
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
Hi all! I need some help from the *nix junkies.
On a Raq3, I'm trying to gzip a site with FrontPage extensions in it's
entirety except for the FrontPage folders (_vti_cnf, _vti_bin, & _vti_txt).
My filed attempts look like this...
tar cvfz mysite.com.tar.gz /home/sites/www.mysite.com/web | grep -v -E
'^/home/sites/.*/_vti_cnf|^/home/sites/.*/_vti_bin|^/home/sites/.*/_vti_txt'
tar cvfz mysite.com.tar.gz find /home/sites/www.mysite.com/web | grep -v -E
'^/home/sites/.*/_vti_cnf|^/home/sites/.*/_vti_bin|^/home/sites/.*/_vti_txt'
tar cvfz mysite.com.tar.gz | find /home/sites/www.mysite.com/web | grep -v
-E
'^/home/sites/.*/_vti_cnf|^/home/sites/.*/_vti_bin|^/home/sites/.*/_vti_txt'
Can someone help me get the syntax correct?
Regards,
Chris