Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Exclude directories from the search

    General Discussion
    5
    6
    15088
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Alexandr Stepanov
      Alexandr Stepanov last edited by A Former User

      Добрый день.
      Ищу вхождение слова в текстовых файлах. Поиск идет в директории с поддиректориями.
      Подскажите пожалуйста, как исключить некоторые поддиректории из поиска ?

      edit from moderator: (translated from g.translator) :

      Good afternoon.
      I am entering words in text files. Search is in a directory with subdirectories.
      Please tell me how to exclude certain subdirectories from the search?

      1 Reply Last reply Reply Quote 3
      • guy038
        guy038 last edited by guy038

        Hello, Alexandr Stepanov

        I, first, translated your Russian text in English, with Google !

        AFAIK, in the Find in Files dialog of N++ ( CTRL + SHIFT + F ), you can add several filters as, for instance, *.xml *.txt

        But, unfortunately, you can’t write several paths in the directory field nor exclude some paths from search.

        I’m agree with you : it could be a nice improvement, in future releases.


        For instance, the text C:\_683\ C:\_681\ C:\_679 | C:\_681\localization, in Directory field, would search :

        • In the C:\_683\ folder, and its sub-directories, due to the last backslash

        • In the C:\_681\ folder, and its sub-directories, due to the last backslash, and except for the C:\_681\localization folder, written after the vertical line character |

        • In the C:\_679 folder, ONLY, because NO backslash ends the path

        Of course, if the In all sub-folders option was UNCHECKED, it would have priority, to the syntaxes above.


        Right now, it’s still a dream :-((

        Cheers,

        guy038

        1 Reply Last reply Reply Quote 2
        • Jim Dailey
          Jim Dailey last edited by Jim Dailey

          +1 Having an exclude files AND exclude directories feature would be a great addition! For me it would work best if they worked similar to the “Filters:” box for files. That is, they would allow multiple entries with wildcards.

          Being able to exclude file types is useful when you want to use *.* to search all types of files that you care about without having to specify each and every one.

          1 Reply Last reply Reply Quote 1
          • tomas-chrastina
            tomas-chrastina last edited by

            +1

            It would be great to have this feature. Many times I was forced to use Total Commander search instead.

            1 Reply Last reply Reply Quote 1
            • Cees Timmerman
              Cees Timmerman last edited by

              I’ve manually set my project’s .meteor folder to hidden so it will only be included when “In hidden folders” is checked.

              1 Reply Last reply Reply Quote 1
              • guy038
                guy038 last edited by

                Hello Cees,

                Very clever solution, Indeed ! Thanks for sharing it :-) I haven’t thought of that simple and useful work-around, yet !

                Best Regards,

                guy038

                1 Reply Last reply Reply Quote 2
                • First post
                  Last post
                Copyright © 2014 NodeBB Forums | Contributors