Live data from Hacker News

Ask HN: How would you improve this CLI tool for finding terminal commands?

github.com

1–3 of 3 posts

Re: Ask HN: How would you improve this CLI tool for finding terminal commands?

#3
FTA:

  $ cf find large files older than 30 days

    > find . -size +100M -mtime +30 -type f
      find / -size +100M -type f
      find . -mtime +30 -type f -delete

    [arrows: navigate] [enter: select] [q: cancel]
So, when asked for commands to find files, this tool may suggest a command that deletes files (and, potentially, massive number of them)?

If so, I would improve the tool by deleting it from my system. This looks way too risky for my taste.

In general, if I don’t know what each of these three options do, how would I choose between them?