[clue-tech] question on commands

Dave Brown derynimind at comcast.net
Thu Mar 10 07:42:22 MST 2005


find . -name application.properties | xargs vi

use ":n" to get to the next file for multiple results from vi


Jed S. Baer wrote:

>On Wed, 9 Mar 2005 19:30:18 -0700
>Jeff Cann wrote:
>
>  
>
>>When I want to find a file and then immediately vi it it:
>>
>>$ find . -name application.properties
>>./WEB-INF/classes/application.properties
>>
>>$ vi ./WEB-INF/classes/application.properties
>>
>>Is there a way to do this in a single command ?
>>    
>>
>
>$ find -name filename -exec vi {} \;
>
>  
>




More information about the clue-tech mailing list