That would explain it, thanks.
I am now pursuing another method. I am searching each file for a string and then copying these files to another folder. I can find the files but have not been able to pass the output to "cp" or "rsync". I have gotten this to work:
find <source> -name '*<file name string>*' -print | xargs grep -lirs '<text string 1>' /dev/null
This gives me a list of all the files that have <file name string> in the file name and contain <text string 1>.
- How can I have it find all the files that contain <text string 1> or <text string 2>?
- How can I have the command copy these files to another folder?
Thank you very much for your help. I realize that my question is out of the context of this forum and I appreciate the time spent to review this.
Kevin