For those of us on Windows: Everything [1] does the job quite nicely with much less verbose syntax. [1] http://voidtools.com
I've been using this for years and it is LIGHTNING fast. No need to "index" all the files because it reads directly from the MFT. If you create a new file matching the search pattern it's already sitting in the results window by the time you alt-tab. Also, the "directory size" equivalent of Everything is WizTree [1] ... much faster than WinDirStat, which I see recommended way too often. [1] http://antibody-software.c…
Show HN: FSQL – Search through your file system with SQL-esque queries
71–80 of 132 posts
Re: Show HN: FSQL – Search through your file system with SQL-esque queries
#72Seems if the query is always going to start with SELECT, that maybe it should be assumed? I would never use this though, ack or find seem sufficient to me.
Yeah, I like the idea of using sql but it is painful to write. It would be nice to omit the select and the quoting; my suggestion would be that fsql "select * from ..." could be written as select all from ... and all could be assumed if ommitted; so you could write select from or just from ... But unfortunately `select` is a sh(1) reserved word and `from` is an existing command! (shows who who your mail is from) So m…
Re: Show HN: FSQL – Search through your file system with SQL-esque queries
#73Seems if the query is always going to start with SELECT, that maybe it should be assumed? I would never use this though, ack or find seem sufficient to me.
Re: Show HN: FSQL – Search through your file system with SQL-esque queries
#74Does anyone remember WinFS (1)? Bill Gates described it as his biggest product regret (2). I remember I thought it was brilliant. Too bad it was probably a little bit too futuristic for its time, as for a few other things they launched when it just was not the right time... the clunky Tablet PCs (3) were for sure another example. (1) https://en.m.wikipedia.org/wiki/WinFS (2) http://www.zdnet.com/article/bill-gates-bi…
Re: Show HN: FSQL – Search through your file system with SQL-esque queries
#75Re: Show HN: FSQL – Search through your file system with SQL-esque queries
#76I think the BeOS had a file system that was set up like a database that could be queried.
Re: Show HN: FSQL – Search through your file system with SQL-esque queries
#77Did someone come up with a generalized rule about putting SQL on top of every possible system that contains queryable information? Here is first-pass: >eventually every system that contains information that can be queried will have a sql interface
SQL is the standard language for querying relational data, so why not.
Re: Show HN: FSQL – Search through your file system with SQL-esque queries
#78Does anyone remember WinFS (1)? Bill Gates described it as his biggest product regret (2). I remember I thought it was brilliant. Too bad it was probably a little bit too futuristic for its time, as for a few other things they launched when it just was not the right time... the clunky Tablet PCs (3) were for sure another example. (1) https://en.m.wikipedia.org/wiki/WinFS (2) http://www.zdnet.com/article/bill-gates-bi…
That was my first thought, too. I'd love a file system that was more like a relational database. Also see the Pick operating system.
Re: Show HN: FSQL – Search through your file system with SQL-esque queries
#79I wanted to write the exact opposite: a Mysql/Postgres client as a FUSE filesystem driver. Namespaces -> folders, tables -> (editable) CSV files, stored procedures and settings accessible as (editable) plain text files.
Re: Show HN: FSQL – Search through your file system with SQL-esque queries
#80Earlier quoted context omitted.
His description sounded like it would do joins across different hosts. Osquery looks to be single host at a time only.
Yep. I'm specifically writing it to find any log file that isn't being pushed into our third party logging service. It's a surprisingly difficult problem, especially considering the amount of tech sprawl that's accumulated. Since it's also a relatively low latency environment, it has to be written in a way that doesn't add too much load (without core isolation..).