Find and execute shell commands using Ollama

  • If you are like me and constantly forget useful shell commands, this is for you.

    Here's an example:

    $ ./how.sh find and delete files older than 30 days Generated command: find . -type f -mtime +30 -exec rm {} \; Do you want to execute this command? (y/n):