[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-developers] Re:Shell command (Or-Or)
- Subject: [cobalt-developers] Re:Shell command (Or-Or)
- From: Ian McCall <ian@xxxxxxxxxxxx>
- Date: Thu Aug 21 12:48:01 2003
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
"Or-Or" <or-or.list2@xxxxxxxxxxxxxx> wrote:
> 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).
Try this:
cd <top of web site>
find * -path "*_vti_*" -prune -o -print |xargs tar cvf /tmp/t.tar
ie. find all files with _vti_ in the path, prune them from the results
and then print what's left. Pass what you're printing as arguments into
tar.
Tried it here and it's working for me.
Cheers,
Ian