[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-developers] Shel command



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