Is there a way to search a web directory for a string of words, if it doesn't have a search bar?

I want to search this Xenoblade 2 GitHub.io data dump directory for a certain string - say, "I have much to learn..." or something. Is this possible?

Comments

For a git based thing then yeah probably best to download the lot and play with your chosen grep equivalent (on Windows I used to quite like astrogrep).
If it was not git based then maybe fire up the web crawler/spider/site downloading tool and go from there, maybe even use the nice index they provided for you to power a wget session (could make a batch file quite happily there in a few seconds really).
As a "Worth a shot"/"can't be bothered downloading things then back to your chosen search engine and add "site:xenoblade.github.io" to your search term, or maybe "inurl:xenoblade.github.io/xb2/bdat/" to narrow it down further still as a quick page down of all that says everything there falls under that, many also in the common directory as well but not all)
 
  • Like
Reactions: 3 people
In that case you probably want to be introduced to the big three of automated text editing/fiddling on Unix systems, though Windows will have various ports and copies of the functionality

Those are
grep , already met this in astrogrep but is a tool that scans files for text strings. Binary grep is kind of a thing as well but most will more use a hex editor.
sed , used more as an advanced find and replace.
awk , has many features but is usually used more to pull data from text (say a log file, dump all lines with this particular value).
http://blog.cee.moe/a-brief-introduction-to-grep-awk-and-sed.html
http://matt.might.net/articles/sculpting-text/

Part of that will probably want you to learn about regular expressions aka regex (if you ever thought of "if only I could find and replace these particular things right at the end of a line it would be nice" this is that, albeit more than just end of lines as much as whatever you like). Though for that I usually point people at notepad++
https://markantoniou.blogspot.com/2008/06/notepad-how-to-use-regular-expressions.html
http://www.regular-expressions.info/

Also if playing with notepad++ you probably want to know about column editing
https://riptutorial.com/notepadplusplus/example/17820/column-editing

The first few times you use all this sort of thing then it will appear long winded and tedious, and you reckon you could probably do it manually quicker (might even be true, though how many fewer mistakes is a different matter). Same with most things in programming and computing though. After that I can't say you will wonder how you ever did without them but when faced with a real "here is a thousand things I need this task done for" you might well in turn do it in minutes.
 
  • Like
Reactions: 1 person

Blog entry information

Author
RichardTheKing
Views
330
Comments
12
Last update

More entries in Personal Blogs

More entries from RichardTheKing

General chit-chat
Help Users
    BakerMan @ BakerMan: