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



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