1

Topic: Search of files in

Good afternoon the task like simple but I can not think in any way
There is a folder in it a heap  in which there are files, it is necessary to find all files containing the given word and to copy these files in a separate folder
Thanks

2

Re: Search of files in

In what a problem that?

3

Re: Search of files in

 $ find/source/path-type f-exec grep-q "your_search_string" {} \;-print-exec cp {}/target/path \;