1 |
On 06/06/15 23:04, Alan McKinnon wrote: |
2 |
>On 06/06/2015 18:45, Joseph wrote: |
3 |
>> I've bunch of php files in many directories and I need to file a text |
4 |
>> string in them "Check/Money Order" |
5 |
>> |
6 |
>> I've tried: |
7 |
>> find -type f -print0 | xargs -r0 grep -F 'Check/Money Order' |
8 |
>> it doesn't work. |
9 |
>> |
10 |
>> What is a better method of searching files? |
11 |
> |
12 |
> |
13 |
>Define "doesn't work" in this context. |
14 |
> |
15 |
>My guess is that the string you want isn't actually there. |
16 |
>If it is there, provide a sample of the source text containing the string. |
17 |
> |
18 |
>-- |
19 |
>Alan McKinnon |
20 |
>alan.mckinnon@×××××.com |
21 |
|
22 |
Apology, yes it did worked. |
23 |
I was just in a wrong sub-directory. |
24 |
|
25 |
-- |
26 |
Joseph |