"Subfolder filter" regex capabilities in File>Search feature

Discussion and questions - donor version.
Post Reply
Message
Author
kino
Posts: 124
Joined: 01.04.2013, 23:24

"Subfolder filter" regex capabilities in File>Search feature

#1 Post by kino » 26.08.2014, 14:30

Hi Community,

I'm having a hard time to figure out the exact capabilities of "Subfolder filter" regex in File>Search feature.

More specifically, I'd like to find csv archive files in a folder hierarchy organized by archive date, application, etc. amongst others e.g. :

.\20140331\APP1\file1.csv
.\20140331\APP1\file2.csv
.\20140331\APP2\file3.csv
.\20140331\file4.csv
.\20140430\APP1\file5.csv
.\20140430\APP2\file6.csv
.\OTHERDIRS\manyfiles*.csv (not to be returned)

I would basically like to be able to find files only located in some dated subdir but neither regex in "Subfolder filter" seems to work as for :

- \d{6} to only get files in a YYYYMMDD subdirectory
- \d{6}\\APP\d to only get files from a specific APP in a dated subdir

Am I missing something here ?

Thanks

Karol
Posts: 963
Joined: 19.08.2007, 12:05

Re: "Subfolder filter" regex capabilities in File>Search fea

#2 Post by Karol » 26.08.2014, 15:58

I think the subfolder filter can be used only for subfolder name and not for the subfolder path.
Try to check:
\d{8}|App\d
If you like to have only files in the result list then deactivate "Directory" attribute in the "Timestamp/Size/Attr" tab.

kino
Posts: 124
Joined: 01.04.2013, 23:24

Re: "Subfolder filter" regex capabilities in File>Search fea

#3 Post by kino » 26.08.2014, 23:48

Hi Karol,

Thanks for your prompt answer.
Karol wrote:I think the subfolder filter can be used only for subfolder name and not for the subfolder path.
It seems, unfortunately (if I may say because I hadn't seen any unfortunate thing yet within FC)
So I'll probably drop some feature suggestion in the appropriate forum.
Karol wrote:\d{8}|App\d
This construct will OR directory names and I would typically not want to get those sub-APPx files not belonging to some precise date at some point
(it's a huge warehouse archive filesystem and I have many of trickiers queries to submit)

Maybe I'll pipe and script a partial staged result from FC.

Thanks anyhow.

(Thank you also for correcting my regex on the fly, I didn't typo 6 vs. 8 when I tested :-)

kino
Posts: 124
Joined: 01.04.2013, 23:24

Re: "Subfolder filter" regex capabilities in File>Search fea

#4 Post by kino » 06.10.2014, 17:28

It looks like it's been addressed in build 673 :

viewtopic.php?f=20&t=6152&p=19707#p19707

Many thanks !

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 37 guests