How to copy/extract all lines that contain string to a different file

2. Help
Boaz20
2013-09-30
2013-10-01
  • Boaz20
    Boaz20
    2013-09-30

    Dear experts,

    1. Is there way to extract all lines that contain specific string to a different file?
    2. Assuming the answer for 1 is yes - Is there way to achieve the same for multi files in the same directory?

    Thanks in advance,
    Boaz.

     
  • dail8859
    dail8859
    2013-10-01

    I would recommend the Linefilter2 plugin. I use this alot to extract search results from very large log files. As for doing it with multiple files, I don't think the plugin can do that.

    If you know Python pretty well, you could use the Python Script plugin (available in the Plugin Manager) to put together something that will go through multiple files and do the same thing, however I don't know the API well enough to accomplish that.