Software for text search in filesHow to search for a string inside of multiple files (in nested folder structure)?Search specific word inside document using sshHow to search for strings inside files in a folder?How to search for files and file contents with a GUI?How do I speed up searches in files?How do I search for binary (openoffice files) which contain specific text?Search files by name instantlyFull text file search in UnityHow to search for a string inside of multiple files (in nested folder structure)?Find and replace text in multiple files using geanyGUI tool to search files in jarSearch for odt files without indexingsearch for duplicate photosImage recognition search software?How to search text within PDF files with docfetcher?

What is the difference between "behavior" and "behaviour"?

Escape a backup date in a file name

Can the discrete variable be a negative number?

Trouble understanding the speech of overseas colleagues

How to write papers efficiently when English isn't my first language?

How to check is there any negative term in a large list?

What does "I’d sit this one out, Cap," imply or mean in the context?

How to safely derail a train during transit?

What is paid subscription needed for in Mortal Kombat 11?

What can we do to stop prior company from asking us questions?

Would this custom Sorcerer variant that can only learn any verbal-component-only spell be unbalanced?

Is the destination of a commercial flight important for the pilot?

Increase performance creating Mandelbrot set in python

Opposite of a diet

Avoiding estate tax by giving multiple gifts

Method to test if a number is a perfect power?

System.debug(JSON.Serialize(o)) Not longer shows full string

Failed to fetch jessie backports repository

when is out of tune ok?

Why does indent disappear in lists?

How did Doctor Strange see the winning outcome in Avengers: Infinity War?

Why didn't Theresa May consult with Parliament before negotiating a deal with the EU?

Pre-amplifier input protection

Proof of work - lottery approach



Software for text search in files


How to search for a string inside of multiple files (in nested folder structure)?Search specific word inside document using sshHow to search for strings inside files in a folder?How to search for files and file contents with a GUI?How do I speed up searches in files?How do I search for binary (openoffice files) which contain specific text?Search files by name instantlyFull text file search in UnityHow to search for a string inside of multiple files (in nested folder structure)?Find and replace text in multiple files using geanyGUI tool to search files in jarSearch for odt files without indexingsearch for duplicate photosImage recognition search software?How to search text within PDF files with docfetcher?













24















I am looking for a software that will search text in files from a folder similar to XYplorer.



Is there something similar?










share|improve this question
























  • Does it have to be a GUI tool?

    – Octavian Damiean
    Mar 8 '11 at 8:46






  • 1





    @Octavian yes it has but even there is not, it will work for me

    – Santosh Linkha
    Mar 8 '11 at 8:55






  • 3





    Possible duplicate of How to search for strings inside files in a folder?

    – muru
    May 7 '18 at 14:03















24















I am looking for a software that will search text in files from a folder similar to XYplorer.



Is there something similar?










share|improve this question
























  • Does it have to be a GUI tool?

    – Octavian Damiean
    Mar 8 '11 at 8:46






  • 1





    @Octavian yes it has but even there is not, it will work for me

    – Santosh Linkha
    Mar 8 '11 at 8:55






  • 3





    Possible duplicate of How to search for strings inside files in a folder?

    – muru
    May 7 '18 at 14:03













24












24








24


7






I am looking for a software that will search text in files from a folder similar to XYplorer.



Is there something similar?










share|improve this question
















I am looking for a software that will search text in files from a folder similar to XYplorer.



Is there something similar?







software-recommendation search






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 8 '11 at 14:00









Octavian Damiean

11.6k74860




11.6k74860










asked Mar 8 '11 at 8:22









Santosh LinkhaSantosh Linkha

86471731




86471731












  • Does it have to be a GUI tool?

    – Octavian Damiean
    Mar 8 '11 at 8:46






  • 1





    @Octavian yes it has but even there is not, it will work for me

    – Santosh Linkha
    Mar 8 '11 at 8:55






  • 3





    Possible duplicate of How to search for strings inside files in a folder?

    – muru
    May 7 '18 at 14:03

















  • Does it have to be a GUI tool?

    – Octavian Damiean
    Mar 8 '11 at 8:46






  • 1





    @Octavian yes it has but even there is not, it will work for me

    – Santosh Linkha
    Mar 8 '11 at 8:55






  • 3





    Possible duplicate of How to search for strings inside files in a folder?

    – muru
    May 7 '18 at 14:03
















Does it have to be a GUI tool?

– Octavian Damiean
Mar 8 '11 at 8:46





Does it have to be a GUI tool?

– Octavian Damiean
Mar 8 '11 at 8:46




1




1





@Octavian yes it has but even there is not, it will work for me

– Santosh Linkha
Mar 8 '11 at 8:55





@Octavian yes it has but even there is not, it will work for me

– Santosh Linkha
Mar 8 '11 at 8:55




3




3





Possible duplicate of How to search for strings inside files in a folder?

– muru
May 7 '18 at 14:03





Possible duplicate of How to search for strings inside files in a folder?

– muru
May 7 '18 at 14:03










11 Answers
11






active

oldest

votes


















19














There is a very nice one that ships with Ubuntu out of the box.




  1. Open the Dash (Super key or the Ubuntu button) and begin typing until you find Search for Files



    enter image description here




  2. The above is for Unity, the default Desktop Environment in Ubuntu. In menu-driven environments, go to Applications -> Accessories -> Search for Files



    enter image description here




  3. Expand the Select more options section and enter the text to search for in the Contains the text: input field.



    enter image description here



Features:



  • 100% GUI

  • You can search for file names or content

  • It does look in sub-folders.

Given your scenario (no terminal commands, simple to use interface) I think theres no better option.



PS: on the Contains the text: input field the '.' character is a wildcard. To escape it you have to use '[]'. E.g.: type Contains the text: [.]myFunction to search for .myFunction






share|improve this answer

























  • yup, I didn't see i could add details

    – Santosh Linkha
    Mar 8 '11 at 13:43






  • 1





    yes, you can... just click on "select more options" and you can have not only "Contains the Text" but also tons of other search options (date, user, file sizer, even regex expressions). I also missed this little beast for a long time... i wish it was integrated into Nautilus (kinda like F3 in Windows Explorer)

    – MestreLion
    Mar 8 '11 at 13:53











  • this is the same as i advised earlier gnome-search-tool

    – Mikl
    Mar 8 '11 at 14:19












  • @Octavian: Thanks for providing the screenshots!

    – MestreLion
    Mar 9 '11 at 16:02











  • @Mikl: its the same result, the difference lies in approach on how to invoke it: your initial solution was focused on command-line invocation (or ALT+F2) and only briefly mentioned it could also be found on menu. Didnt say where, or what the program name was in the menu. Only after i post my answer you edited yours to provide the menu path and name. For newcomers, a Menu-oriented approach is always better than CLI invocation. ALT+F2 should only be used when the software is not avaliable in menu.

    – MestreLion
    Mar 9 '11 at 16:10



















11














use



 grep -nr <your text> .


put the text that you want to find inside the <your text>






share|improve this answer

























  • does it look in sub folders

    – Santosh Linkha
    Mar 8 '11 at 9:02











  • experimentx@workmateX:/var/www/testingzedn$ grep -nr application.ini is taking forever ... am i incorrect

    – Santosh Linkha
    Mar 8 '11 at 9:07












  • need the dot . , it will look into the folder with the -r

    – wizztjh
    Mar 8 '11 at 9:18











  • grep -nr application.ini .

    – wizztjh
    Mar 8 '11 at 9:20



















9














you can use



find . -name '*.*' -exec grep -Hn 'text to find' '' ;


-name '*.*' or '*.txt' (use file mask here)

'text to find' (place text you want to find here)



find . -type f -exec grep -Hn 'text to find' '' ;


if you want to search all files






share|improve this answer

























  • For all files, do not use -name '*.*' as files do not always have an extension. Use -type f instead (for searching in all files). Replace by "", otherwise file names with whitespace in it do not get searched correctly.

    – Lekensteyn
    Mar 8 '11 at 12:31











  • @Lekensteyn i have edited my post. but i made some test with files with whitespaces in names and no error while using witout quotes.

    – Mikl
    Mar 8 '11 at 13:43












  • just tested it too and you are right, whitespace is not a problem. In some shells, the quotes might still be necessary to prevent shell expansion. From man find: "Both of these con‐ structions might need to be escaped (with a `') or quoted to protect them from expansion by the shell."

    – Lekensteyn
    Mar 8 '11 at 14:13


















9














GUI (Graphical) tool:



gnome-search-tool


you can find it in Ubuntu main menu



Menu -> Accessories -> Search for Files


or run it using hot key ALT+F2






share|improve this answer




















  • 1





    Just an update for newer Ubuntu versions: on Unity interface (Ubuntu 12 or superior), click on Dash Home (the first icon on toolbar), type "search" and select "Search Files" application.

    – josircg
    Dec 9 '13 at 13:09



















9














I am a fan of searchmonkey (GPL, free, cross-platform, pretty light on resources and very fast).



enter image description here






share|improve this answer

























  • Looks good. Will give it a try on other platforms since the top voted answer fits my bill on Ubuntu.

    – Amol Gawai
    Aug 24 '12 at 10:18











  • Seems it does not work on 64 bit operating systems (I faced the problem on win 7 64 bit). This is deal breaker for me as I use 64 bit OSes everywhere. Looked promising though.

    – Amol Gawai
    Aug 24 '12 at 10:25











  • @AmolGawai working perfectly at ubuntu 64bit here...

    – Aquarius Power
    May 20 '17 at 5:46


















4














Regexxer will let you search text in files. Not sure what you mean by "in folders".



enter link description here






share|improve this answer
































    3














    Graphical search:



    in Kubuntu open Dolphin, then Edit->Find (Ctrl+F)



    change from filename to Content and adjust from where to look for.






    share|improve this answer






























      2














      Recoll does indexing and you can do full text searches of documents and email.






      share|improve this answer























      • Looking into 50.000 folders is a pain :D if you don't index the data, so if you cannot buy a SSD disk, install any indexing tool before you waste time looking for files. Do the job once. Even if is not an answer to current question is a good point of view.

        – erm3nda
        Aug 30 '15 at 15:54


















      0














      I compared three of the suggestions in here with 64 bit 16.04 Kubuntu:



      1. Searchmonkey works with 64-bit Ubuntu nowadays. It is similar to
        regexxer. It appeared fast, but naturally it is much slower than
        index based search.

      2. Search for Files and Alt-F2 don't work with
        the KDE Ubuntu version.


      3. My recommendation is Recoll and I have added some installation
        instructions for it. For me, the default installation supported PDF (test this!), DOCX, TAR, ZIP etc.



        sudo add-apt-repository "deb http://archive.canonical.com/ $(lsb_release -sc) partner"
        sudo apt-get install recoll antiword
        recoll


      4. First line is probably not required: it adds partner installation repository.


      5. Antiword is optional. It is needed to support older .doc files.

      6. Enable following symbolic links and the root directory from Recoll Preferencies if necessary.

      7. Create cron job for Recoll indexing using the GUI or make it to start on every login.

      8. Change the Recoll setting in preferences from English to All languages if appropriate for you.

      9. Start the indexing, at least for me it was surprisingly fast and didn't use all resources so I was able to continue using the laptop.

      10. I have found one bug from Recoll so far: if you search for file name with "PST", it doesn't find it even though it is in uppercase. "pst" works and it finds both uppercase and lowercase names.

      11. See more about recoll from https://www.lesbonscomptes.com/recoll/features.html

      If you wish to add support for Outlook PST files, then you need to execute the following as well.



       sudo apt-get install readpst
      mkdir ~/PST
      find -L ~ -name "*.pst" -print | awk " printf "%s%s %s%s%s %s\n", "mkdir ~/PST/", $1, "; readpst -o ~/PST/", $1, " -D -j 4 -r -tea -u -w", $1 " > /tmp/myPstFiles
      cat /tmp/myPstFiles
      chmod 755 /tmp/myPstFiles
      /tmp/myPstFiles


      1. Change root directory from ~ to / if necessary in the find command.

      2. My find script has a bug in it: it creates too long directory structure now. But it was easier for me to modify the temp file manually than to find a fix to this. Main target was that this will work for several PST files and it does that.

      3. See more about Readpst from http://www.five-ten-sg.com/libpst/rn01re01.html and https://blog.robseder.com/2015/08/29/working-with-a-pst-file-in-linux/





      share|improve this answer
































        0














        I'm really want to introduce one tool which is based on ncurses library to provide the text-based user interface. The tool called NCGREP(grep based on ncurses) is mainly for search text in the specific folder. Hope this is what you want.
        This source of the tool has been hosted on github.com, see more at https://github.com/ncgrep/ncgrep



        enter image description here
        Click image to see demo animation






        share|improve this answer
































          -3














          https://www.google.com/
          chunnu
          [url=https://www.google.com]munnu[/url]
          Google
          https://www.google.com/
          chunnu
          [url=https://www.google.com]munnu[/url]
          Google





          share








          New contributor




          messy tyagi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.



















            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "89"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f29483%2fsoftware-for-text-search-in-files%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            11 Answers
            11






            active

            oldest

            votes








            11 Answers
            11






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            19














            There is a very nice one that ships with Ubuntu out of the box.




            1. Open the Dash (Super key or the Ubuntu button) and begin typing until you find Search for Files



              enter image description here




            2. The above is for Unity, the default Desktop Environment in Ubuntu. In menu-driven environments, go to Applications -> Accessories -> Search for Files



              enter image description here




            3. Expand the Select more options section and enter the text to search for in the Contains the text: input field.



              enter image description here



            Features:



            • 100% GUI

            • You can search for file names or content

            • It does look in sub-folders.

            Given your scenario (no terminal commands, simple to use interface) I think theres no better option.



            PS: on the Contains the text: input field the '.' character is a wildcard. To escape it you have to use '[]'. E.g.: type Contains the text: [.]myFunction to search for .myFunction






            share|improve this answer

























            • yup, I didn't see i could add details

              – Santosh Linkha
              Mar 8 '11 at 13:43






            • 1





              yes, you can... just click on "select more options" and you can have not only "Contains the Text" but also tons of other search options (date, user, file sizer, even regex expressions). I also missed this little beast for a long time... i wish it was integrated into Nautilus (kinda like F3 in Windows Explorer)

              – MestreLion
              Mar 8 '11 at 13:53











            • this is the same as i advised earlier gnome-search-tool

              – Mikl
              Mar 8 '11 at 14:19












            • @Octavian: Thanks for providing the screenshots!

              – MestreLion
              Mar 9 '11 at 16:02











            • @Mikl: its the same result, the difference lies in approach on how to invoke it: your initial solution was focused on command-line invocation (or ALT+F2) and only briefly mentioned it could also be found on menu. Didnt say where, or what the program name was in the menu. Only after i post my answer you edited yours to provide the menu path and name. For newcomers, a Menu-oriented approach is always better than CLI invocation. ALT+F2 should only be used when the software is not avaliable in menu.

              – MestreLion
              Mar 9 '11 at 16:10
















            19














            There is a very nice one that ships with Ubuntu out of the box.




            1. Open the Dash (Super key or the Ubuntu button) and begin typing until you find Search for Files



              enter image description here




            2. The above is for Unity, the default Desktop Environment in Ubuntu. In menu-driven environments, go to Applications -> Accessories -> Search for Files



              enter image description here




            3. Expand the Select more options section and enter the text to search for in the Contains the text: input field.



              enter image description here



            Features:



            • 100% GUI

            • You can search for file names or content

            • It does look in sub-folders.

            Given your scenario (no terminal commands, simple to use interface) I think theres no better option.



            PS: on the Contains the text: input field the '.' character is a wildcard. To escape it you have to use '[]'. E.g.: type Contains the text: [.]myFunction to search for .myFunction






            share|improve this answer

























            • yup, I didn't see i could add details

              – Santosh Linkha
              Mar 8 '11 at 13:43






            • 1





              yes, you can... just click on "select more options" and you can have not only "Contains the Text" but also tons of other search options (date, user, file sizer, even regex expressions). I also missed this little beast for a long time... i wish it was integrated into Nautilus (kinda like F3 in Windows Explorer)

              – MestreLion
              Mar 8 '11 at 13:53











            • this is the same as i advised earlier gnome-search-tool

              – Mikl
              Mar 8 '11 at 14:19












            • @Octavian: Thanks for providing the screenshots!

              – MestreLion
              Mar 9 '11 at 16:02











            • @Mikl: its the same result, the difference lies in approach on how to invoke it: your initial solution was focused on command-line invocation (or ALT+F2) and only briefly mentioned it could also be found on menu. Didnt say where, or what the program name was in the menu. Only after i post my answer you edited yours to provide the menu path and name. For newcomers, a Menu-oriented approach is always better than CLI invocation. ALT+F2 should only be used when the software is not avaliable in menu.

              – MestreLion
              Mar 9 '11 at 16:10














            19












            19








            19







            There is a very nice one that ships with Ubuntu out of the box.




            1. Open the Dash (Super key or the Ubuntu button) and begin typing until you find Search for Files



              enter image description here




            2. The above is for Unity, the default Desktop Environment in Ubuntu. In menu-driven environments, go to Applications -> Accessories -> Search for Files



              enter image description here




            3. Expand the Select more options section and enter the text to search for in the Contains the text: input field.



              enter image description here



            Features:



            • 100% GUI

            • You can search for file names or content

            • It does look in sub-folders.

            Given your scenario (no terminal commands, simple to use interface) I think theres no better option.



            PS: on the Contains the text: input field the '.' character is a wildcard. To escape it you have to use '[]'. E.g.: type Contains the text: [.]myFunction to search for .myFunction






            share|improve this answer















            There is a very nice one that ships with Ubuntu out of the box.




            1. Open the Dash (Super key or the Ubuntu button) and begin typing until you find Search for Files



              enter image description here




            2. The above is for Unity, the default Desktop Environment in Ubuntu. In menu-driven environments, go to Applications -> Accessories -> Search for Files



              enter image description here




            3. Expand the Select more options section and enter the text to search for in the Contains the text: input field.



              enter image description here



            Features:



            • 100% GUI

            • You can search for file names or content

            • It does look in sub-folders.

            Given your scenario (no terminal commands, simple to use interface) I think theres no better option.



            PS: on the Contains the text: input field the '.' character is a wildcard. To escape it you have to use '[]'. E.g.: type Contains the text: [.]myFunction to search for .myFunction







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Mar 28 '14 at 1:34

























            answered Mar 8 '11 at 13:10









            MestreLionMestreLion

            13.8k116997




            13.8k116997












            • yup, I didn't see i could add details

              – Santosh Linkha
              Mar 8 '11 at 13:43






            • 1





              yes, you can... just click on "select more options" and you can have not only "Contains the Text" but also tons of other search options (date, user, file sizer, even regex expressions). I also missed this little beast for a long time... i wish it was integrated into Nautilus (kinda like F3 in Windows Explorer)

              – MestreLion
              Mar 8 '11 at 13:53











            • this is the same as i advised earlier gnome-search-tool

              – Mikl
              Mar 8 '11 at 14:19












            • @Octavian: Thanks for providing the screenshots!

              – MestreLion
              Mar 9 '11 at 16:02











            • @Mikl: its the same result, the difference lies in approach on how to invoke it: your initial solution was focused on command-line invocation (or ALT+F2) and only briefly mentioned it could also be found on menu. Didnt say where, or what the program name was in the menu. Only after i post my answer you edited yours to provide the menu path and name. For newcomers, a Menu-oriented approach is always better than CLI invocation. ALT+F2 should only be used when the software is not avaliable in menu.

              – MestreLion
              Mar 9 '11 at 16:10


















            • yup, I didn't see i could add details

              – Santosh Linkha
              Mar 8 '11 at 13:43






            • 1





              yes, you can... just click on "select more options" and you can have not only "Contains the Text" but also tons of other search options (date, user, file sizer, even regex expressions). I also missed this little beast for a long time... i wish it was integrated into Nautilus (kinda like F3 in Windows Explorer)

              – MestreLion
              Mar 8 '11 at 13:53











            • this is the same as i advised earlier gnome-search-tool

              – Mikl
              Mar 8 '11 at 14:19












            • @Octavian: Thanks for providing the screenshots!

              – MestreLion
              Mar 9 '11 at 16:02











            • @Mikl: its the same result, the difference lies in approach on how to invoke it: your initial solution was focused on command-line invocation (or ALT+F2) and only briefly mentioned it could also be found on menu. Didnt say where, or what the program name was in the menu. Only after i post my answer you edited yours to provide the menu path and name. For newcomers, a Menu-oriented approach is always better than CLI invocation. ALT+F2 should only be used when the software is not avaliable in menu.

              – MestreLion
              Mar 9 '11 at 16:10

















            yup, I didn't see i could add details

            – Santosh Linkha
            Mar 8 '11 at 13:43





            yup, I didn't see i could add details

            – Santosh Linkha
            Mar 8 '11 at 13:43




            1




            1





            yes, you can... just click on "select more options" and you can have not only "Contains the Text" but also tons of other search options (date, user, file sizer, even regex expressions). I also missed this little beast for a long time... i wish it was integrated into Nautilus (kinda like F3 in Windows Explorer)

            – MestreLion
            Mar 8 '11 at 13:53





            yes, you can... just click on "select more options" and you can have not only "Contains the Text" but also tons of other search options (date, user, file sizer, even regex expressions). I also missed this little beast for a long time... i wish it was integrated into Nautilus (kinda like F3 in Windows Explorer)

            – MestreLion
            Mar 8 '11 at 13:53













            this is the same as i advised earlier gnome-search-tool

            – Mikl
            Mar 8 '11 at 14:19






            this is the same as i advised earlier gnome-search-tool

            – Mikl
            Mar 8 '11 at 14:19














            @Octavian: Thanks for providing the screenshots!

            – MestreLion
            Mar 9 '11 at 16:02





            @Octavian: Thanks for providing the screenshots!

            – MestreLion
            Mar 9 '11 at 16:02













            @Mikl: its the same result, the difference lies in approach on how to invoke it: your initial solution was focused on command-line invocation (or ALT+F2) and only briefly mentioned it could also be found on menu. Didnt say where, or what the program name was in the menu. Only after i post my answer you edited yours to provide the menu path and name. For newcomers, a Menu-oriented approach is always better than CLI invocation. ALT+F2 should only be used when the software is not avaliable in menu.

            – MestreLion
            Mar 9 '11 at 16:10






            @Mikl: its the same result, the difference lies in approach on how to invoke it: your initial solution was focused on command-line invocation (or ALT+F2) and only briefly mentioned it could also be found on menu. Didnt say where, or what the program name was in the menu. Only after i post my answer you edited yours to provide the menu path and name. For newcomers, a Menu-oriented approach is always better than CLI invocation. ALT+F2 should only be used when the software is not avaliable in menu.

            – MestreLion
            Mar 9 '11 at 16:10














            11














            use



             grep -nr <your text> .


            put the text that you want to find inside the <your text>






            share|improve this answer

























            • does it look in sub folders

              – Santosh Linkha
              Mar 8 '11 at 9:02











            • experimentx@workmateX:/var/www/testingzedn$ grep -nr application.ini is taking forever ... am i incorrect

              – Santosh Linkha
              Mar 8 '11 at 9:07












            • need the dot . , it will look into the folder with the -r

              – wizztjh
              Mar 8 '11 at 9:18











            • grep -nr application.ini .

              – wizztjh
              Mar 8 '11 at 9:20
















            11














            use



             grep -nr <your text> .


            put the text that you want to find inside the <your text>






            share|improve this answer

























            • does it look in sub folders

              – Santosh Linkha
              Mar 8 '11 at 9:02











            • experimentx@workmateX:/var/www/testingzedn$ grep -nr application.ini is taking forever ... am i incorrect

              – Santosh Linkha
              Mar 8 '11 at 9:07












            • need the dot . , it will look into the folder with the -r

              – wizztjh
              Mar 8 '11 at 9:18











            • grep -nr application.ini .

              – wizztjh
              Mar 8 '11 at 9:20














            11












            11








            11







            use



             grep -nr <your text> .


            put the text that you want to find inside the <your text>






            share|improve this answer















            use



             grep -nr <your text> .


            put the text that you want to find inside the <your text>







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Mar 8 '11 at 12:23









            Octavian Damiean

            11.6k74860




            11.6k74860










            answered Mar 8 '11 at 9:01









            wizztjhwizztjh

            263210




            263210












            • does it look in sub folders

              – Santosh Linkha
              Mar 8 '11 at 9:02











            • experimentx@workmateX:/var/www/testingzedn$ grep -nr application.ini is taking forever ... am i incorrect

              – Santosh Linkha
              Mar 8 '11 at 9:07












            • need the dot . , it will look into the folder with the -r

              – wizztjh
              Mar 8 '11 at 9:18











            • grep -nr application.ini .

              – wizztjh
              Mar 8 '11 at 9:20


















            • does it look in sub folders

              – Santosh Linkha
              Mar 8 '11 at 9:02











            • experimentx@workmateX:/var/www/testingzedn$ grep -nr application.ini is taking forever ... am i incorrect

              – Santosh Linkha
              Mar 8 '11 at 9:07












            • need the dot . , it will look into the folder with the -r

              – wizztjh
              Mar 8 '11 at 9:18











            • grep -nr application.ini .

              – wizztjh
              Mar 8 '11 at 9:20

















            does it look in sub folders

            – Santosh Linkha
            Mar 8 '11 at 9:02





            does it look in sub folders

            – Santosh Linkha
            Mar 8 '11 at 9:02













            experimentx@workmateX:/var/www/testingzedn$ grep -nr application.ini is taking forever ... am i incorrect

            – Santosh Linkha
            Mar 8 '11 at 9:07






            experimentx@workmateX:/var/www/testingzedn$ grep -nr application.ini is taking forever ... am i incorrect

            – Santosh Linkha
            Mar 8 '11 at 9:07














            need the dot . , it will look into the folder with the -r

            – wizztjh
            Mar 8 '11 at 9:18





            need the dot . , it will look into the folder with the -r

            – wizztjh
            Mar 8 '11 at 9:18













            grep -nr application.ini .

            – wizztjh
            Mar 8 '11 at 9:20






            grep -nr application.ini .

            – wizztjh
            Mar 8 '11 at 9:20












            9














            you can use



            find . -name '*.*' -exec grep -Hn 'text to find' '' ;


            -name '*.*' or '*.txt' (use file mask here)

            'text to find' (place text you want to find here)



            find . -type f -exec grep -Hn 'text to find' '' ;


            if you want to search all files






            share|improve this answer

























            • For all files, do not use -name '*.*' as files do not always have an extension. Use -type f instead (for searching in all files). Replace by "", otherwise file names with whitespace in it do not get searched correctly.

              – Lekensteyn
              Mar 8 '11 at 12:31











            • @Lekensteyn i have edited my post. but i made some test with files with whitespaces in names and no error while using witout quotes.

              – Mikl
              Mar 8 '11 at 13:43












            • just tested it too and you are right, whitespace is not a problem. In some shells, the quotes might still be necessary to prevent shell expansion. From man find: "Both of these con‐ structions might need to be escaped (with a `') or quoted to protect them from expansion by the shell."

              – Lekensteyn
              Mar 8 '11 at 14:13















            9














            you can use



            find . -name '*.*' -exec grep -Hn 'text to find' '' ;


            -name '*.*' or '*.txt' (use file mask here)

            'text to find' (place text you want to find here)



            find . -type f -exec grep -Hn 'text to find' '' ;


            if you want to search all files






            share|improve this answer

























            • For all files, do not use -name '*.*' as files do not always have an extension. Use -type f instead (for searching in all files). Replace by "", otherwise file names with whitespace in it do not get searched correctly.

              – Lekensteyn
              Mar 8 '11 at 12:31











            • @Lekensteyn i have edited my post. but i made some test with files with whitespaces in names and no error while using witout quotes.

              – Mikl
              Mar 8 '11 at 13:43












            • just tested it too and you are right, whitespace is not a problem. In some shells, the quotes might still be necessary to prevent shell expansion. From man find: "Both of these con‐ structions might need to be escaped (with a `') or quoted to protect them from expansion by the shell."

              – Lekensteyn
              Mar 8 '11 at 14:13













            9












            9








            9







            you can use



            find . -name '*.*' -exec grep -Hn 'text to find' '' ;


            -name '*.*' or '*.txt' (use file mask here)

            'text to find' (place text you want to find here)



            find . -type f -exec grep -Hn 'text to find' '' ;


            if you want to search all files






            share|improve this answer















            you can use



            find . -name '*.*' -exec grep -Hn 'text to find' '' ;


            -name '*.*' or '*.txt' (use file mask here)

            'text to find' (place text you want to find here)



            find . -type f -exec grep -Hn 'text to find' '' ;


            if you want to search all files







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Mar 8 '11 at 13:27

























            answered Mar 8 '11 at 10:34









            MiklMikl

            426311




            426311












            • For all files, do not use -name '*.*' as files do not always have an extension. Use -type f instead (for searching in all files). Replace by "", otherwise file names with whitespace in it do not get searched correctly.

              – Lekensteyn
              Mar 8 '11 at 12:31











            • @Lekensteyn i have edited my post. but i made some test with files with whitespaces in names and no error while using witout quotes.

              – Mikl
              Mar 8 '11 at 13:43












            • just tested it too and you are right, whitespace is not a problem. In some shells, the quotes might still be necessary to prevent shell expansion. From man find: "Both of these con‐ structions might need to be escaped (with a `') or quoted to protect them from expansion by the shell."

              – Lekensteyn
              Mar 8 '11 at 14:13

















            • For all files, do not use -name '*.*' as files do not always have an extension. Use -type f instead (for searching in all files). Replace by "", otherwise file names with whitespace in it do not get searched correctly.

              – Lekensteyn
              Mar 8 '11 at 12:31











            • @Lekensteyn i have edited my post. but i made some test with files with whitespaces in names and no error while using witout quotes.

              – Mikl
              Mar 8 '11 at 13:43












            • just tested it too and you are right, whitespace is not a problem. In some shells, the quotes might still be necessary to prevent shell expansion. From man find: "Both of these con‐ structions might need to be escaped (with a `') or quoted to protect them from expansion by the shell."

              – Lekensteyn
              Mar 8 '11 at 14:13
















            For all files, do not use -name '*.*' as files do not always have an extension. Use -type f instead (for searching in all files). Replace by "", otherwise file names with whitespace in it do not get searched correctly.

            – Lekensteyn
            Mar 8 '11 at 12:31





            For all files, do not use -name '*.*' as files do not always have an extension. Use -type f instead (for searching in all files). Replace by "", otherwise file names with whitespace in it do not get searched correctly.

            – Lekensteyn
            Mar 8 '11 at 12:31













            @Lekensteyn i have edited my post. but i made some test with files with whitespaces in names and no error while using witout quotes.

            – Mikl
            Mar 8 '11 at 13:43






            @Lekensteyn i have edited my post. but i made some test with files with whitespaces in names and no error while using witout quotes.

            – Mikl
            Mar 8 '11 at 13:43














            just tested it too and you are right, whitespace is not a problem. In some shells, the quotes might still be necessary to prevent shell expansion. From man find: "Both of these con‐ structions might need to be escaped (with a `') or quoted to protect them from expansion by the shell."

            – Lekensteyn
            Mar 8 '11 at 14:13





            just tested it too and you are right, whitespace is not a problem. In some shells, the quotes might still be necessary to prevent shell expansion. From man find: "Both of these con‐ structions might need to be escaped (with a `') or quoted to protect them from expansion by the shell."

            – Lekensteyn
            Mar 8 '11 at 14:13











            9














            GUI (Graphical) tool:



            gnome-search-tool


            you can find it in Ubuntu main menu



            Menu -> Accessories -> Search for Files


            or run it using hot key ALT+F2






            share|improve this answer




















            • 1





              Just an update for newer Ubuntu versions: on Unity interface (Ubuntu 12 or superior), click on Dash Home (the first icon on toolbar), type "search" and select "Search Files" application.

              – josircg
              Dec 9 '13 at 13:09
















            9














            GUI (Graphical) tool:



            gnome-search-tool


            you can find it in Ubuntu main menu



            Menu -> Accessories -> Search for Files


            or run it using hot key ALT+F2






            share|improve this answer




















            • 1





              Just an update for newer Ubuntu versions: on Unity interface (Ubuntu 12 or superior), click on Dash Home (the first icon on toolbar), type "search" and select "Search Files" application.

              – josircg
              Dec 9 '13 at 13:09














            9












            9








            9







            GUI (Graphical) tool:



            gnome-search-tool


            you can find it in Ubuntu main menu



            Menu -> Accessories -> Search for Files


            or run it using hot key ALT+F2






            share|improve this answer















            GUI (Graphical) tool:



            gnome-search-tool


            you can find it in Ubuntu main menu



            Menu -> Accessories -> Search for Files


            or run it using hot key ALT+F2







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Mar 8 '11 at 13:49

























            answered Mar 8 '11 at 10:52









            MiklMikl

            426311




            426311







            • 1





              Just an update for newer Ubuntu versions: on Unity interface (Ubuntu 12 or superior), click on Dash Home (the first icon on toolbar), type "search" and select "Search Files" application.

              – josircg
              Dec 9 '13 at 13:09













            • 1





              Just an update for newer Ubuntu versions: on Unity interface (Ubuntu 12 or superior), click on Dash Home (the first icon on toolbar), type "search" and select "Search Files" application.

              – josircg
              Dec 9 '13 at 13:09








            1




            1





            Just an update for newer Ubuntu versions: on Unity interface (Ubuntu 12 or superior), click on Dash Home (the first icon on toolbar), type "search" and select "Search Files" application.

            – josircg
            Dec 9 '13 at 13:09






            Just an update for newer Ubuntu versions: on Unity interface (Ubuntu 12 or superior), click on Dash Home (the first icon on toolbar), type "search" and select "Search Files" application.

            – josircg
            Dec 9 '13 at 13:09












            9














            I am a fan of searchmonkey (GPL, free, cross-platform, pretty light on resources and very fast).



            enter image description here






            share|improve this answer

























            • Looks good. Will give it a try on other platforms since the top voted answer fits my bill on Ubuntu.

              – Amol Gawai
              Aug 24 '12 at 10:18











            • Seems it does not work on 64 bit operating systems (I faced the problem on win 7 64 bit). This is deal breaker for me as I use 64 bit OSes everywhere. Looked promising though.

              – Amol Gawai
              Aug 24 '12 at 10:25











            • @AmolGawai working perfectly at ubuntu 64bit here...

              – Aquarius Power
              May 20 '17 at 5:46















            9














            I am a fan of searchmonkey (GPL, free, cross-platform, pretty light on resources and very fast).



            enter image description here






            share|improve this answer

























            • Looks good. Will give it a try on other platforms since the top voted answer fits my bill on Ubuntu.

              – Amol Gawai
              Aug 24 '12 at 10:18











            • Seems it does not work on 64 bit operating systems (I faced the problem on win 7 64 bit). This is deal breaker for me as I use 64 bit OSes everywhere. Looked promising though.

              – Amol Gawai
              Aug 24 '12 at 10:25











            • @AmolGawai working perfectly at ubuntu 64bit here...

              – Aquarius Power
              May 20 '17 at 5:46













            9












            9








            9







            I am a fan of searchmonkey (GPL, free, cross-platform, pretty light on resources and very fast).



            enter image description here






            share|improve this answer















            I am a fan of searchmonkey (GPL, free, cross-platform, pretty light on resources and very fast).



            enter image description here







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Aug 2 '12 at 4:15







            user47206

















            answered Jul 13 '12 at 19:52









            Will.Will.

            545513




            545513












            • Looks good. Will give it a try on other platforms since the top voted answer fits my bill on Ubuntu.

              – Amol Gawai
              Aug 24 '12 at 10:18











            • Seems it does not work on 64 bit operating systems (I faced the problem on win 7 64 bit). This is deal breaker for me as I use 64 bit OSes everywhere. Looked promising though.

              – Amol Gawai
              Aug 24 '12 at 10:25











            • @AmolGawai working perfectly at ubuntu 64bit here...

              – Aquarius Power
              May 20 '17 at 5:46

















            • Looks good. Will give it a try on other platforms since the top voted answer fits my bill on Ubuntu.

              – Amol Gawai
              Aug 24 '12 at 10:18











            • Seems it does not work on 64 bit operating systems (I faced the problem on win 7 64 bit). This is deal breaker for me as I use 64 bit OSes everywhere. Looked promising though.

              – Amol Gawai
              Aug 24 '12 at 10:25











            • @AmolGawai working perfectly at ubuntu 64bit here...

              – Aquarius Power
              May 20 '17 at 5:46
















            Looks good. Will give it a try on other platforms since the top voted answer fits my bill on Ubuntu.

            – Amol Gawai
            Aug 24 '12 at 10:18





            Looks good. Will give it a try on other platforms since the top voted answer fits my bill on Ubuntu.

            – Amol Gawai
            Aug 24 '12 at 10:18













            Seems it does not work on 64 bit operating systems (I faced the problem on win 7 64 bit). This is deal breaker for me as I use 64 bit OSes everywhere. Looked promising though.

            – Amol Gawai
            Aug 24 '12 at 10:25





            Seems it does not work on 64 bit operating systems (I faced the problem on win 7 64 bit). This is deal breaker for me as I use 64 bit OSes everywhere. Looked promising though.

            – Amol Gawai
            Aug 24 '12 at 10:25













            @AmolGawai working perfectly at ubuntu 64bit here...

            – Aquarius Power
            May 20 '17 at 5:46





            @AmolGawai working perfectly at ubuntu 64bit here...

            – Aquarius Power
            May 20 '17 at 5:46











            4














            Regexxer will let you search text in files. Not sure what you mean by "in folders".



            enter link description here






            share|improve this answer





























              4














              Regexxer will let you search text in files. Not sure what you mean by "in folders".



              enter link description here






              share|improve this answer



























                4












                4








                4







                Regexxer will let you search text in files. Not sure what you mean by "in folders".



                enter link description here






                share|improve this answer















                Regexxer will let you search text in files. Not sure what you mean by "in folders".



                enter link description here







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Mar 23 '17 at 3:06









                Seth

                35k27112166




                35k27112166










                answered Dec 6 '11 at 15:22









                uvasaluvasal

                2981520




                2981520





















                    3














                    Graphical search:



                    in Kubuntu open Dolphin, then Edit->Find (Ctrl+F)



                    change from filename to Content and adjust from where to look for.






                    share|improve this answer



























                      3














                      Graphical search:



                      in Kubuntu open Dolphin, then Edit->Find (Ctrl+F)



                      change from filename to Content and adjust from where to look for.






                      share|improve this answer

























                        3












                        3








                        3







                        Graphical search:



                        in Kubuntu open Dolphin, then Edit->Find (Ctrl+F)



                        change from filename to Content and adjust from where to look for.






                        share|improve this answer













                        Graphical search:



                        in Kubuntu open Dolphin, then Edit->Find (Ctrl+F)



                        change from filename to Content and adjust from where to look for.







                        share|improve this answer












                        share|improve this answer



                        share|improve this answer










                        answered Mar 8 '11 at 10:43









                        OsisOsis

                        443138




                        443138





















                            2














                            Recoll does indexing and you can do full text searches of documents and email.






                            share|improve this answer























                            • Looking into 50.000 folders is a pain :D if you don't index the data, so if you cannot buy a SSD disk, install any indexing tool before you waste time looking for files. Do the job once. Even if is not an answer to current question is a good point of view.

                              – erm3nda
                              Aug 30 '15 at 15:54















                            2














                            Recoll does indexing and you can do full text searches of documents and email.






                            share|improve this answer























                            • Looking into 50.000 folders is a pain :D if you don't index the data, so if you cannot buy a SSD disk, install any indexing tool before you waste time looking for files. Do the job once. Even if is not an answer to current question is a good point of view.

                              – erm3nda
                              Aug 30 '15 at 15:54













                            2












                            2








                            2







                            Recoll does indexing and you can do full text searches of documents and email.






                            share|improve this answer













                            Recoll does indexing and you can do full text searches of documents and email.







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Dec 6 '11 at 17:34









                            DustinDustin

                            1,27333960




                            1,27333960












                            • Looking into 50.000 folders is a pain :D if you don't index the data, so if you cannot buy a SSD disk, install any indexing tool before you waste time looking for files. Do the job once. Even if is not an answer to current question is a good point of view.

                              – erm3nda
                              Aug 30 '15 at 15:54

















                            • Looking into 50.000 folders is a pain :D if you don't index the data, so if you cannot buy a SSD disk, install any indexing tool before you waste time looking for files. Do the job once. Even if is not an answer to current question is a good point of view.

                              – erm3nda
                              Aug 30 '15 at 15:54
















                            Looking into 50.000 folders is a pain :D if you don't index the data, so if you cannot buy a SSD disk, install any indexing tool before you waste time looking for files. Do the job once. Even if is not an answer to current question is a good point of view.

                            – erm3nda
                            Aug 30 '15 at 15:54





                            Looking into 50.000 folders is a pain :D if you don't index the data, so if you cannot buy a SSD disk, install any indexing tool before you waste time looking for files. Do the job once. Even if is not an answer to current question is a good point of view.

                            – erm3nda
                            Aug 30 '15 at 15:54











                            0














                            I compared three of the suggestions in here with 64 bit 16.04 Kubuntu:



                            1. Searchmonkey works with 64-bit Ubuntu nowadays. It is similar to
                              regexxer. It appeared fast, but naturally it is much slower than
                              index based search.

                            2. Search for Files and Alt-F2 don't work with
                              the KDE Ubuntu version.


                            3. My recommendation is Recoll and I have added some installation
                              instructions for it. For me, the default installation supported PDF (test this!), DOCX, TAR, ZIP etc.



                              sudo add-apt-repository "deb http://archive.canonical.com/ $(lsb_release -sc) partner"
                              sudo apt-get install recoll antiword
                              recoll


                            4. First line is probably not required: it adds partner installation repository.


                            5. Antiword is optional. It is needed to support older .doc files.

                            6. Enable following symbolic links and the root directory from Recoll Preferencies if necessary.

                            7. Create cron job for Recoll indexing using the GUI or make it to start on every login.

                            8. Change the Recoll setting in preferences from English to All languages if appropriate for you.

                            9. Start the indexing, at least for me it was surprisingly fast and didn't use all resources so I was able to continue using the laptop.

                            10. I have found one bug from Recoll so far: if you search for file name with "PST", it doesn't find it even though it is in uppercase. "pst" works and it finds both uppercase and lowercase names.

                            11. See more about recoll from https://www.lesbonscomptes.com/recoll/features.html

                            If you wish to add support for Outlook PST files, then you need to execute the following as well.



                             sudo apt-get install readpst
                            mkdir ~/PST
                            find -L ~ -name "*.pst" -print | awk " printf "%s%s %s%s%s %s\n", "mkdir ~/PST/", $1, "; readpst -o ~/PST/", $1, " -D -j 4 -r -tea -u -w", $1 " > /tmp/myPstFiles
                            cat /tmp/myPstFiles
                            chmod 755 /tmp/myPstFiles
                            /tmp/myPstFiles


                            1. Change root directory from ~ to / if necessary in the find command.

                            2. My find script has a bug in it: it creates too long directory structure now. But it was easier for me to modify the temp file manually than to find a fix to this. Main target was that this will work for several PST files and it does that.

                            3. See more about Readpst from http://www.five-ten-sg.com/libpst/rn01re01.html and https://blog.robseder.com/2015/08/29/working-with-a-pst-file-in-linux/





                            share|improve this answer





























                              0














                              I compared three of the suggestions in here with 64 bit 16.04 Kubuntu:



                              1. Searchmonkey works with 64-bit Ubuntu nowadays. It is similar to
                                regexxer. It appeared fast, but naturally it is much slower than
                                index based search.

                              2. Search for Files and Alt-F2 don't work with
                                the KDE Ubuntu version.


                              3. My recommendation is Recoll and I have added some installation
                                instructions for it. For me, the default installation supported PDF (test this!), DOCX, TAR, ZIP etc.



                                sudo add-apt-repository "deb http://archive.canonical.com/ $(lsb_release -sc) partner"
                                sudo apt-get install recoll antiword
                                recoll


                              4. First line is probably not required: it adds partner installation repository.


                              5. Antiword is optional. It is needed to support older .doc files.

                              6. Enable following symbolic links and the root directory from Recoll Preferencies if necessary.

                              7. Create cron job for Recoll indexing using the GUI or make it to start on every login.

                              8. Change the Recoll setting in preferences from English to All languages if appropriate for you.

                              9. Start the indexing, at least for me it was surprisingly fast and didn't use all resources so I was able to continue using the laptop.

                              10. I have found one bug from Recoll so far: if you search for file name with "PST", it doesn't find it even though it is in uppercase. "pst" works and it finds both uppercase and lowercase names.

                              11. See more about recoll from https://www.lesbonscomptes.com/recoll/features.html

                              If you wish to add support for Outlook PST files, then you need to execute the following as well.



                               sudo apt-get install readpst
                              mkdir ~/PST
                              find -L ~ -name "*.pst" -print | awk " printf "%s%s %s%s%s %s\n", "mkdir ~/PST/", $1, "; readpst -o ~/PST/", $1, " -D -j 4 -r -tea -u -w", $1 " > /tmp/myPstFiles
                              cat /tmp/myPstFiles
                              chmod 755 /tmp/myPstFiles
                              /tmp/myPstFiles


                              1. Change root directory from ~ to / if necessary in the find command.

                              2. My find script has a bug in it: it creates too long directory structure now. But it was easier for me to modify the temp file manually than to find a fix to this. Main target was that this will work for several PST files and it does that.

                              3. See more about Readpst from http://www.five-ten-sg.com/libpst/rn01re01.html and https://blog.robseder.com/2015/08/29/working-with-a-pst-file-in-linux/





                              share|improve this answer



























                                0












                                0








                                0







                                I compared three of the suggestions in here with 64 bit 16.04 Kubuntu:



                                1. Searchmonkey works with 64-bit Ubuntu nowadays. It is similar to
                                  regexxer. It appeared fast, but naturally it is much slower than
                                  index based search.

                                2. Search for Files and Alt-F2 don't work with
                                  the KDE Ubuntu version.


                                3. My recommendation is Recoll and I have added some installation
                                  instructions for it. For me, the default installation supported PDF (test this!), DOCX, TAR, ZIP etc.



                                  sudo add-apt-repository "deb http://archive.canonical.com/ $(lsb_release -sc) partner"
                                  sudo apt-get install recoll antiword
                                  recoll


                                4. First line is probably not required: it adds partner installation repository.


                                5. Antiword is optional. It is needed to support older .doc files.

                                6. Enable following symbolic links and the root directory from Recoll Preferencies if necessary.

                                7. Create cron job for Recoll indexing using the GUI or make it to start on every login.

                                8. Change the Recoll setting in preferences from English to All languages if appropriate for you.

                                9. Start the indexing, at least for me it was surprisingly fast and didn't use all resources so I was able to continue using the laptop.

                                10. I have found one bug from Recoll so far: if you search for file name with "PST", it doesn't find it even though it is in uppercase. "pst" works and it finds both uppercase and lowercase names.

                                11. See more about recoll from https://www.lesbonscomptes.com/recoll/features.html

                                If you wish to add support for Outlook PST files, then you need to execute the following as well.



                                 sudo apt-get install readpst
                                mkdir ~/PST
                                find -L ~ -name "*.pst" -print | awk " printf "%s%s %s%s%s %s\n", "mkdir ~/PST/", $1, "; readpst -o ~/PST/", $1, " -D -j 4 -r -tea -u -w", $1 " > /tmp/myPstFiles
                                cat /tmp/myPstFiles
                                chmod 755 /tmp/myPstFiles
                                /tmp/myPstFiles


                                1. Change root directory from ~ to / if necessary in the find command.

                                2. My find script has a bug in it: it creates too long directory structure now. But it was easier for me to modify the temp file manually than to find a fix to this. Main target was that this will work for several PST files and it does that.

                                3. See more about Readpst from http://www.five-ten-sg.com/libpst/rn01re01.html and https://blog.robseder.com/2015/08/29/working-with-a-pst-file-in-linux/





                                share|improve this answer















                                I compared three of the suggestions in here with 64 bit 16.04 Kubuntu:



                                1. Searchmonkey works with 64-bit Ubuntu nowadays. It is similar to
                                  regexxer. It appeared fast, but naturally it is much slower than
                                  index based search.

                                2. Search for Files and Alt-F2 don't work with
                                  the KDE Ubuntu version.


                                3. My recommendation is Recoll and I have added some installation
                                  instructions for it. For me, the default installation supported PDF (test this!), DOCX, TAR, ZIP etc.



                                  sudo add-apt-repository "deb http://archive.canonical.com/ $(lsb_release -sc) partner"
                                  sudo apt-get install recoll antiword
                                  recoll


                                4. First line is probably not required: it adds partner installation repository.


                                5. Antiword is optional. It is needed to support older .doc files.

                                6. Enable following symbolic links and the root directory from Recoll Preferencies if necessary.

                                7. Create cron job for Recoll indexing using the GUI or make it to start on every login.

                                8. Change the Recoll setting in preferences from English to All languages if appropriate for you.

                                9. Start the indexing, at least for me it was surprisingly fast and didn't use all resources so I was able to continue using the laptop.

                                10. I have found one bug from Recoll so far: if you search for file name with "PST", it doesn't find it even though it is in uppercase. "pst" works and it finds both uppercase and lowercase names.

                                11. See more about recoll from https://www.lesbonscomptes.com/recoll/features.html

                                If you wish to add support for Outlook PST files, then you need to execute the following as well.



                                 sudo apt-get install readpst
                                mkdir ~/PST
                                find -L ~ -name "*.pst" -print | awk " printf "%s%s %s%s%s %s\n", "mkdir ~/PST/", $1, "; readpst -o ~/PST/", $1, " -D -j 4 -r -tea -u -w", $1 " > /tmp/myPstFiles
                                cat /tmp/myPstFiles
                                chmod 755 /tmp/myPstFiles
                                /tmp/myPstFiles


                                1. Change root directory from ~ to / if necessary in the find command.

                                2. My find script has a bug in it: it creates too long directory structure now. But it was easier for me to modify the temp file manually than to find a fix to this. Main target was that this will work for several PST files and it does that.

                                3. See more about Readpst from http://www.five-ten-sg.com/libpst/rn01re01.html and https://blog.robseder.com/2015/08/29/working-with-a-pst-file-in-linux/






                                share|improve this answer














                                share|improve this answer



                                share|improve this answer








                                edited Jul 4 '16 at 13:42

























                                answered Jul 4 '16 at 13:33









                                Timo RiikonenTimo Riikonen

                                19616




                                19616





















                                    0














                                    I'm really want to introduce one tool which is based on ncurses library to provide the text-based user interface. The tool called NCGREP(grep based on ncurses) is mainly for search text in the specific folder. Hope this is what you want.
                                    This source of the tool has been hosted on github.com, see more at https://github.com/ncgrep/ncgrep



                                    enter image description here
                                    Click image to see demo animation






                                    share|improve this answer





























                                      0














                                      I'm really want to introduce one tool which is based on ncurses library to provide the text-based user interface. The tool called NCGREP(grep based on ncurses) is mainly for search text in the specific folder. Hope this is what you want.
                                      This source of the tool has been hosted on github.com, see more at https://github.com/ncgrep/ncgrep



                                      enter image description here
                                      Click image to see demo animation






                                      share|improve this answer



























                                        0












                                        0








                                        0







                                        I'm really want to introduce one tool which is based on ncurses library to provide the text-based user interface. The tool called NCGREP(grep based on ncurses) is mainly for search text in the specific folder. Hope this is what you want.
                                        This source of the tool has been hosted on github.com, see more at https://github.com/ncgrep/ncgrep



                                        enter image description here
                                        Click image to see demo animation






                                        share|improve this answer















                                        I'm really want to introduce one tool which is based on ncurses library to provide the text-based user interface. The tool called NCGREP(grep based on ncurses) is mainly for search text in the specific folder. Hope this is what you want.
                                        This source of the tool has been hosted on github.com, see more at https://github.com/ncgrep/ncgrep



                                        enter image description here
                                        Click image to see demo animation







                                        share|improve this answer














                                        share|improve this answer



                                        share|improve this answer








                                        edited Dec 13 '17 at 5:11









                                        karel

                                        60.6k13131155




                                        60.6k13131155










                                        answered Dec 13 '17 at 5:09









                                        GenialXGenialX

                                        11




                                        11





















                                            -3














                                            https://www.google.com/
                                            chunnu
                                            [url=https://www.google.com]munnu[/url]
                                            Google
                                            https://www.google.com/
                                            chunnu
                                            [url=https://www.google.com]munnu[/url]
                                            Google





                                            share








                                            New contributor




                                            messy tyagi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                            Check out our Code of Conduct.
























                                              -3














                                              https://www.google.com/
                                              chunnu
                                              [url=https://www.google.com]munnu[/url]
                                              Google
                                              https://www.google.com/
                                              chunnu
                                              [url=https://www.google.com]munnu[/url]
                                              Google





                                              share








                                              New contributor




                                              messy tyagi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                              Check out our Code of Conduct.






















                                                -3












                                                -3








                                                -3







                                                https://www.google.com/
                                                chunnu
                                                [url=https://www.google.com]munnu[/url]
                                                Google
                                                https://www.google.com/
                                                chunnu
                                                [url=https://www.google.com]munnu[/url]
                                                Google





                                                share








                                                New contributor




                                                messy tyagi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                Check out our Code of Conduct.










                                                https://www.google.com/
                                                chunnu
                                                [url=https://www.google.com]munnu[/url]
                                                Google
                                                https://www.google.com/
                                                chunnu
                                                [url=https://www.google.com]munnu[/url]
                                                Google






                                                share








                                                New contributor




                                                messy tyagi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                Check out our Code of Conduct.








                                                share


                                                share






                                                New contributor




                                                messy tyagi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                Check out our Code of Conduct.









                                                answered 5 mins ago









                                                messy tyagimessy tyagi

                                                1




                                                1




                                                New contributor




                                                messy tyagi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                Check out our Code of Conduct.





                                                New contributor





                                                messy tyagi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                Check out our Code of Conduct.






                                                messy tyagi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                Check out our Code of Conduct.



























                                                    draft saved

                                                    draft discarded
















































                                                    Thanks for contributing an answer to Ask Ubuntu!


                                                    • Please be sure to answer the question. Provide details and share your research!

                                                    But avoid


                                                    • Asking for help, clarification, or responding to other answers.

                                                    • Making statements based on opinion; back them up with references or personal experience.

                                                    To learn more, see our tips on writing great answers.




                                                    draft saved


                                                    draft discarded














                                                    StackExchange.ready(
                                                    function ()
                                                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f29483%2fsoftware-for-text-search-in-files%23new-answer', 'question_page');

                                                    );

                                                    Post as a guest















                                                    Required, but never shown





















































                                                    Required, but never shown














                                                    Required, but never shown












                                                    Required, but never shown







                                                    Required, but never shown

































                                                    Required, but never shown














                                                    Required, but never shown












                                                    Required, but never shown







                                                    Required, but never shown







                                                    Popular posts from this blog

                                                    Möglingen Índice Localización Historia Demografía Referencias Enlaces externos Menú de navegación48°53′18″N 9°07′45″E / 48.888333333333, 9.129166666666748°53′18″N 9°07′45″E / 48.888333333333, 9.1291666666667Sitio web oficial Mapa de Möglingen«Gemeinden in Deutschland nach Fläche, Bevölkerung und Postleitzahl am 30.09.2016»Möglingen

                                                    Virtualbox - Configuration error: Querying “UUID” failed (VERR_CFGM_VALUE_NOT_FOUND)“VERR_SUPLIB_WORLD_WRITABLE” error when trying to installing OS in virtualboxVirtual Box Kernel errorFailed to open a seesion for the virtual machineFailed to open a session for the virtual machineUbuntu 14.04 LTS Virtualbox errorcan't use VM VirtualBoxusing virtualboxI can't run Linux-64 Bit on VirtualBoxUnable to insert the virtual optical disk (VBoxguestaddition) in virtual machine for ubuntu server in win 10VirtuaBox in Ubuntu 18.04 Issues with Win10.ISO Installation

                                                    Antonio De Lisio Carrera Referencias Menú de navegación«Caracas: evolución relacional multipleja»«Cuando los gobiernos subestiman a las localidades: L a Iniciativa para la Integración de la Infraestructura Regional Suramericana (IIRSA) en la frontera Colombo-Venezolana»«Maestría en Planificación Integral del Ambiente»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«Conózcanos»«Caracas: evolución relacional multipleja»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»