Ceri Davies <[EMAIL PROTECTED]> wrote:
> On Sun, May 13, 2007 at 10:37:34AM +0100, a b wrote:
> >
> > > >Last time I used tcsh there was no way to do redirection properly, and
> > > >therefore it sucked. It did everything else brilliantly, but every now
> > > >and then I would find myself needing to redirect something and falling
> > > >back to another shell. So now I use zsh, which is better than all of
> > > >the others, plus it can rip a phone book in half.
> >
> > It's just that csh's (and therefore tcsh's) syntax is *different* in that
> > respect.
> >
> > I'll use the good ol' `find + cpio` combo to demonstrate, here's how to do
> > it:
> >
> > ( ( cd /src/dir/ && find . -depth -print | cpio -pvdmu /dst/dir/ ) >
> > /tmp/cpio.stdout ) >& /tmp/cpio.stderr
>
> Ha ha, that's the ugliest thing I ever saw.
correct, this:
star -copy -p -acl -sparse -C /src/dir/ . /dst/dir/
does a better job and is much faster.
Jörg
--
EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
[EMAIL PROTECTED] (uni)
[EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
opensolaris-discuss mailing list
[email protected]