Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API

From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
awsmprog763yalso is there a way to search inside file content or atleast files, in .rar archives without extracting them
-
awsmprog763y@tosensei i'm searching for a string inside file contents in a .rar file which contains thousands of .txt and .html.
now, i've extracted the archive.
but the search is slow, using ripgrep makes it faster. but is there a way to index the content of the .txt and .html files for much faster search. -
TextCrawler is good on Windows: https://digitalvolcano.co.uk/tcdown... (also perf wise)
With metalsmith js (https://metalsmith.io) or a similar tool you can create custom processing pipelines without too much effort
The closest you'd be to "reading an archive's contents would be to extract them to a temp folder and remove them after the search operation has completed
VS Code also has a surprisingly performant and advanced search -
Are you looking to search only once or many times? If the former you probably won't benefit from indexing
-
open in intellij. search for filename, particular text, everything is pretty fast + gui
-
for searching inside a zip, i think winrar is good for searching filenames as it provides a search bar. for non window platform, i am not sure.
if they are uncompressed, then again, opening in intellij will work just fine -
I'd give Sublime Texts "find in files" feature a go, you can use regex if you want.
-
awsmprog763y@NoToJavaScript nope. i've downloaded over 17gb archive of erotic stories . wanted to find some interesting stories
Related Rants
I've over 17GB of data, downloaded a website, al of the content is .txt and .html.
I want to search inside all of these files.
What is the best tool to do that? any command or some software which can index so it'll be fast?
question
help
search
tool