Hi,

I want to make Robinhood v2.5.5 ignore all files beginning with a . and all 
directories beginning with a . from a particular directory. I'm thinking I'm 
going to do this with a FileClass but am not sure of the syntax. Would the 
following work?


  FileClass ignore_files {

        # Ignore files in /dir1/dir2 beginning with a . or residing

        # in a directory beginning with a .

    definition {

      tree == "/dir1/dir2"

      and

      name == ".??*

    }

  }



I'm aware that files or directories called .a (for example) would not be 
ignored. Obviously I don't want to ignore . or ..



Or maybe there's a better way to do this?



Many thanks,

Dave.



_______________________________________________
robinhood-support mailing list
robinhood-support@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/robinhood-support

Reply via email to