Batch replacement of file contents under Linux system

  
                  

The use of maven in the construction of an application in the past two days, due to the large project, there are more than 700 pom.xml files, the more depressing is that the resource library is specified separately in many pom.xml files. Url, I need to assign the url of these repositories to the nexus local central repository.


It is a little practical to manually change the file configuration one by one, so google it and find the contents of the batch replacement file. Method, the command structure is as follows:


find -name 'file name to look for'

Copyright © Windows knowledge All Rights Reserved