27 Apr
2014
27 Apr
'14
21:03
On 04/27/2014 10:23 PM, Carlos E. R. wrote:
find / -type f -print0 | xargs -0 file \ | awk '/Bourne-Again/{print $1}' | tr -d ':' \ | xargs -r grep -D skip SEARCHSTRING | less -S
The problem is that it is terribly slow, several hours. One reason is that it explores absolutely all paths, like "/proc".
What about passing the mount points you're interested in, and then use the -xdev option to limit the search to these file systems? Have a nice day, Berny -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org