News for hackers. Stuff that matters.
Re:Show HN: A simple, fast and user-friendly alternative to ... by pmoriarty on Sunday October 08, 2017 @04:16PM (#15429789)
fzf is fine for searching just for filenames, but it does nothing else that find does.

It can't even search specifically for directories, as far as I can see, nevermind searching for files/dirs with certain permissions, ages, etc.

It's also uselesss for non-interactive uses such as scripting.

I like fzf, but it's really not anywhere close to a complete find replacement.

Re:Show HN: A simple, fast and user-friendly alternative to ... by sa46 on Sunday October 08, 2017 @04:38PM (#15429883)
You're right that fzf doesn't replace find. Fzf is just an interactive, filtering tool. You can pipe anything into it. find is a common way of populating it with data.

I suspect the GP meant that fzf replaced the pattern 'find |xargs $binary' for small interactive use cases. It's much nicer to do '$binary <invoke fzf>'. I use fzf the same way with key bindings to select directories and files powered by find.

Re:Show HN: A simple, fast and user-friendly alternative to ... by igemnace on Sunday October 08, 2017 @04:56PM (#15429954)
It's not a find replacement at all, even!

fzf just actually calls find by default, so a naked call to fzf will actually give you the same results as find | fzf.

Search specifically for directories, that's find -type d | fzf.