I’d like to replace some text in a file using the Replace: command. The file is located in many different sub-directories. I know how to replace text when I know the directory, but the file I want to replace could be in multiple locations unique to each server. I know each folder where the file exists ends with _. How can I make this happen?
ex: file name = file.conf
folder structure = /opt/<different_folder_name>_[0-9]/file.conf