0

I work on a mac OSX 10 +.
I an looking for some software that can enable me to change a word of text in a file ( php file or otherwise ) without having to open each file individually.
Let me explain - I have a folder named 'code folder' and it contains 72 php files, I want to remove specific word from all the 72 php files without having to open every file and scan through them individually and find and replace the word I am looking for.
Does anyone know of any software for the Mac that will enable me to do this, or if not how it could be do otherwise.
Many thanks in advance for any help you may be able to me.

2
Contributors
3
Replies
4
Views
7 Years
Discussion Span
Last Post by michaelwebster
0

Hi

Many thanks for your reply - I am a novice at this kind of ting but am keen to learn - not sure how to implement this command - can I do it locally on OSx via terminal and how do I constrain the search to a folder only, even if the folder i have the files in has subfolders that need searching also?

If I had a folder named 'PHP' on my desktop that had many files and subfolders in it also with files inside the subfolders, and I needed to scan all the files in my 'PHP' folder including the files in the subfolders, how would I code that terminal command to find and print the occurrences of the word I am searching for in all of the files?

Thanks

Edited by michaelwebster: n/a

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.