Page 1 of 1

Is it possible to search for word in all files?

Posted: Mon Jan 04, 2021 10:25 pm
by Jassim1
Hello. I`ve just copied my store to different host and different domain and i`m looking for some way to search words in all opencart files. I want to make that because i want to search for the domain of my old store and see if i forgot something to change in the root files. I know that there is such option because in one topic (but I cant remember the topic name or what was about) i saw user that shown a list with staistic how much times you can find exact word in all files. In his case was around 20 files mobdro kodi.
I will be very happy if someone helps with that.

Re: Is it possible to search for word in all files?

Posted: Mon Jan 04, 2021 11:26 pm
by by mona
This is not an Opencart question

Within your CPanel?
That would be your host.

On your local machine - that would depend on your system
google would be the best advice

Re: Is it possible to search for word in all files?

Posted: Mon Jan 04, 2021 11:33 pm
by mikeinterserv
You can use something like notepad++ which has a search in files feature
or
If your on linux

grep -iRl "your words here" ./

Will find ALL files with the word between the quotes

If your on Windows

findstr /s /i /m /C: "string to find" *.* -- Will find and list all files with string EXACT