Skip to content

shellmind

Shellmind (shell reminder) is a simple Bash script that you can use to remind yourself to do something on a recurring basis.

Installation

Here is an example of how to set up the script to remind yourself to perform system updates every 30 days:

Bash
install -DT <(curl -fsSL https://raw.githubusercontent.com/dmotte/misc/main/scripts/shellmind/shellmind.sh) ~/.shellmind/main.sh

cat << 'EOF' >> ~/.shellmind/message.txt
Kind reminder to keep your system up-to-date! Please run the following commands:
- sudo apt update
- sudo apt upgrade
- touch ~/.shellmind/main.sh (to reschedule this reminder)
EOF

echo "~/.shellmind/main.sh $((30*24*60*60))" >> ~/.bashrc