Tapatalk

How to ignore directories on find in files in UEX for Linux?

How to ignore directories on find in files in UEX for Linux?

4
NewbieNewbie
4

    Jun 17, 2010#1

    Hallo everybody,

    I'm not sure how the ignore options work. I want to exclude a directory. I've tried the following:

    - The full path like: /home/user/openssl/crypto/ec/
    - The relative path like: crypto/ec/
    - A regular expression for the directory like: .*/ec

    But the search will find files in the directory. Am I doing something wrong or is it a bug?

      Jun 23, 2010#2

      pcremer wrote:- The full path like: /home/user/openssl/crypto/ec/
      Correct is: /home/user/openssl/crypto/ec

      The problem was the last slash. So the answer is: You have to enter the absolute path of the directory and you have to omit the end slash ('/') to get a directory ignored.