How could I include ONLY files in root folder?‏

Get help for specific problems
Posts: 6
Joined: 5 Feb 2013

chulochula

I have *.aspx anywhere in a folder tree. But I want to include only those in root folder. How could I do this (or excludes all *.aspx under subfolders)? Thanks!
User avatar
Site Admin
Posts: 7280
Joined: 9 Dec 2007

Zenju

An exclude filter entry "?*\*.aspx" will do. "?*" is like the ".+" in regex, while the "\" makes sure to match items in subfolders only. See also help file "exclude items" for a general explanation.
Posts: 6
Joined: 5 Feb 2013

chulochula

Thanks! It works!

I have gone through the Help but did not find this "?*" or "**" which I saw from another thread. Are there anymore example about filtering online?
User avatar
Site Admin
Posts: 7280
Joined: 9 Dec 2007

Zenju

Help file chapter "Exclude Items" gives a general overview.