Friday, November 26, 2010

edit multiple files under multiple directories/folders

Hi,

In my home folder I have 6 tomcat directories under /home/kaushal/tomcat0......6

Under each of these tomcats there are sub folder conf and inside these conf there is a file by the name server.xml so for example I have tomcat0,tomcat1,tomcat2,tomcat3,tomcat4,tomcat5 so i need to edit server.xml and set port numbers for tomcat0 to 8080 tomcat1 to 8081 and similarly for others,the other way is to go to individual directory and do it

Please suggest/guide

Thanks and Regards

Kaushal

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment