Linux command
todo.sh 命令
安全
权限或系统影响较大,执行前请核对目标。
常用示例
Add task
todo.sh add "[task text]"
List all tasks
todo.sh list
List by priority
todo.sh listpri [A]
Mark done
todo.sh do [item-number]
Add priority
todo.sh pri [item-number] [A]
Archive completed
todo.sh archive
说明
todo.sh is a shell script for managing tasks in the todo.txt plain text format created by Gina Trapani. Tasks are stored one per line with support for priorities (A-Z), project tags (+project), and context tags (@context), making the file both human-readable and easily parseable. The tool provides commands for adding, completing, prioritizing, and archiving tasks. Completed items can be moved to a done.txt archive to keep the active list clean. The plain text format ensures portability and compatibility with any text editor or sync service.
参数
- add
- Add task.
- list, ls
- List tasks.
- listpri, lsp
- List by priority.
- do
- Complete task.
- pri
- Set priority.
- archive
- Archive done.
FAQ
What is the todo.sh command used for?
todo.sh is a shell script for managing tasks in the todo.txt plain text format created by Gina Trapani. Tasks are stored one per line with support for priorities (A-Z), project tags (+project), and context tags (@context), making the file both human-readable and easily parseable. The tool provides commands for adding, completing, prioritizing, and archiving tasks. Completed items can be moved to a done.txt archive to keep the active list clean. The plain text format ensures portability and compatibility with any text editor or sync service.
How do I run a basic todo.sh example?
Run `todo.sh add "[task text]"` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does add do in todo.sh?
Add task.