IanWorthington Posted March 26, 2005 Report Share Posted March 26, 2005 I have a selector that excludes the (ever-changing, ever-growing) database created by Google Desktop Search from my backups. Windows path of file or folder matches pattern D:\Documents and Settings\Ian\Local Settings\Application Data\Google\Google Desktop Search, selecting all enclosed items This works fine, but isn't very generic, yet when I introduce wildcards, eg: D:\Documents and Settings\*\Local Settings\Application Data\Google\Google Desktop Search or: *\Documents and Settings\*\Local Settings\Application Data\Google\Google Desktop Search or even: ends with Local Settings\Application Data\Google\Google Desktop Search the selector does *not* exclude this folder. Am I misunderstanding something here? ian ... Link to comment Share on other sites More sharing options...
natew Posted March 28, 2005 Report Share Posted March 28, 2005 Hi Try using the path "includes" rule instead of "ends with". Path selectors are tricky because they often depend on slashes being at the right places. Thanks Nate Link to comment Share on other sites More sharing options...
IanWorthington Posted March 29, 2005 Author Report Share Posted March 29, 2005 Hmm. Works with: path contains Local Settings\Application Data\Google\Google Desktop Search but still *not* with: path contains *\Documents and Settings\*\Local Settings\Application Data\Google\Google Desktop Search Is that expected? Link to comment Share on other sites More sharing options...
natew Posted March 29, 2005 Report Share Posted March 29, 2005 Hi I don't think you can use wildcards in path selectors. From what I can tell the rules for folders and files may be different when it comes to wildcards. You may have better luck breaking the selector into two parts with an and contintion. Path starts with C:\blah\blah\blah And Path ends with \path\path\path Thanks Nate Link to comment Share on other sites More sharing options...
Cbarnhorst Posted March 29, 2005 Report Share Posted March 29, 2005 Wildcards are for filenames, but not for paths. Link to comment Share on other sites More sharing options...
natew Posted March 29, 2005 Report Share Posted March 29, 2005 Hi I assume that is a Windows limitation? Thanks Nate Link to comment Share on other sites More sharing options...
IanWorthington Posted March 29, 2005 Author Report Share Posted March 29, 2005 That would certainly explain it! Thanks guys. Be nice if Retrospect warned me that my syntax was invalid. Or, even better, supported it! ian ... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.