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



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