开发者

Using anemone to search files and folders on my computer with ruby

开发者 https://www.devze.com 2023-04-01 22:05 出处:网络
When I view \"My Documents\" for instance in my browser (Default = chrome) I see a web page with links on denoting all of the folders and files within. Is ther开发者_C百科e any way to get anemone to u

When I view "My Documents" for instance in my browser (Default = chrome) I see a web page with links on denoting all of the folders and files within. Is ther开发者_C百科e any way to get anemone to use this facility and essentially map my folders and files within a directory.

Thanks.

Alternative solutions to this problem using ruby code would be good too but I'm most familiar with anemone so would like to use it if possible.

I want to find all files with html in the name.


Using a web-crawler for searching files on local computer is a bit overkill. I guess that Dir.glob will do the job much faster.

html_files = Dir['**/*html*']
0

精彩评论

暂无评论...
验证码 换一张
取 消