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 10386
- From: sand <sandman@xxxxxxxxxxxx>
- 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:24:19 +0200
- In-reply-to: <Xns97E4AC9347343zzappergmailcom@xxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <Xns97E48B452D0F7zzappergmailcom@xxxxxxxxxxx> <200606161249.k5GCnXdp009969@xxxxxxxxxxxxxx> <Xns97E4921DAEECEzzappergmailcom@xxxxxxxxxxx> <Xns97E4AC9347343zzappergmailcom@xxxxxxxxxxx>
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
(I don't know how paths are handled under windows...)
sand
--
Hi, I'm a .signature virus! Copy me to your .signature file and
help me propagate, thanks!
Messages sorted by:
Reverse Date,
Date,
Thread,
Author