Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Recursion and shell functions
- X-seq: zsh-workers 17805
- From: DervishD <raul@xxxxxxxxxxxx>
- To: Jason Price <jprice@xxxxxxxxxxxxxxxxxxxx>
- Subject: Re: Recursion and shell functions
- Date: Thu, 10 Oct 2002 23:15:47 +0200
- Cc: Zsh <zsh-workers@xxxxxxxxxx>
- In-reply-to: <kgohefukqpk.fsf@xxxxxxxxxxxxxxxxxx>
- Mail-followup-to: Jason Price <jprice@xxxxxxxxxxxxxxxxxxxx>, Zsh <zsh-workers@xxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Organization: Pleyades Net
- References: <20021010194154.GA10963@DervishD> <kgohefukqpk.fsf@xxxxxxxxxxxxxxxxxx>
Hi Jason :)
> > First of all, please excuse this a-bit-off-topic question, but I
> > need to know if a feature available in zsh is portable.
> You could re-invent the wheel, but why?
> (cd <your source dir> ; tar -cpvf - .) | ( cd <your dest dir> ; tar -xpf -)
Thanks for your answer, Jason, but I don't want to make the
software dependent on 'tar'. In fact I don't have tar on my system! I
use 'pax' instead ;))
The aim is to depend only on the shell and POSIX utilities (like
'cp', 'rm, etc... you know.). I want to impose little or no
dependencies. 'tar' is not a good solution for me, I prefer 'pax',
although is not as extended by now, 'rsync' seems to big for copying
a few bunch of files, and 'ssh'... well...
Thanks again.
Raúl
Messages sorted by:
Reverse Date,
Date,
Thread,
Author