Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URL/Folder Subset #438

Closed
jmrichardson opened this issue Sep 14, 2017 · 4 comments
Closed

URL/Folder Subset #438

jmrichardson opened this issue Sep 14, 2017 · 4 comments
Labels
new For new features or options

Comments

@jmrichardson
Copy link

jmrichardson commented Sep 14, 2017

Hello,

I was hoping to run multiple instances of fscrawler on the same box (parallel) and feed into another single threaded service prior to sending to ES. Is there a way to specifiy the folder URL to include a subset of the folder. For example something similar to:

1 fscrawler instance on /tmp/es/[a-d]*
1 fscrawler instance on /tmp/es/[e-h]*
...

Thank you for this AWESOME software!

@jmrichardson
Copy link
Author

jmrichardson commented Sep 18, 2017

I am not sure if there is a workaround here but hoping fscrawler can crawl based on regex url or array of definitions. I have tried:

"fs" : {
    "url" : ["C:\\Dir\\A","C:\\Dir\\B"]
}

and

"fs" : {
    "url" : "C:\\Dir\\(A|B)"
}

In other words, I am hoping for a way to specify more than one folder to be crawled by fscrawler. Can anyone point me in the right direction?

Thanks

@dadoonet
Copy link
Owner

It's not supported and I don't think there is a workaround.

I'm leaving it opened as a feature request.

@jmrichardson
Copy link
Author

Thank you. I have my fingers crossed for the upcoming release :) Thanks again for your hard work on the project.

@dadoonet dadoonet added the new For new features or options label Feb 20, 2018
@dadoonet
Copy link
Owner

dadoonet commented Aug 2, 2018

I think I implemented that with #561.
Could you confirm that this is fitting your needs?

I'm closing but feel free to comment or reopen if the last changes don't work for you.

@dadoonet dadoonet closed this as completed Aug 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new For new features or options
Projects
None yet
Development

No branches or pull requests

2 participants