Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: replace all versions of a file in hierachy with a more recent version
- X-seq: zsh-users 10387
- From: zzapper <david@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: replace all versions of a file in hierachy with a more recent version
- Date: Fri, 16 Jun 2006 18:29:44 +0000 (UTC)
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: SuccessTheory
- References: <Xns97E48B452D0F7zzappergmailcom@xxxxxxxxxxx> <200606161249.k5GCnXdp009969@xxxxxxxxxxxxxx> <Xns97E4921DAEECEzzappergmailcom@xxxxxxxxxxx> <Xns97E4AC9347343zzappergmailcom@xxxxxxxxxxx> <4492DB33.9030901@xxxxxxxxxxxx>
- Sender: news <news@xxxxxxxxxxxxx>
sand <sandman@xxxxxxxxxxxx> wrote in news:4492DB33.9030901@xxxxxxxxxxxx:
> zzapper wrote:
>> find . -name SQLyogTunnel.php -exec \cp
>> c:/aaa/replace/SQLyogTunnel.php {} \;
>
> You can still do it without find:
>
> for f in **/SQLyogTunnel.php; do
> cp c:/aaa/replace/SQLyogTunnel.php $f
> done
>
sand
Yep like that! (i'm actually using cygwin)
--
http://successtheory.com/tips/ Vim, Zsh, MySQL Tips
Messages sorted by:
Reverse Date,
Date,
Thread,
Author