Links nice UI #
https://perplexity.ai/search/chatgpt-uwRva0wHQPKJnv4tBJd3yQ?sm=r
Q: first use of todo.sh -h #=> Fatal Error: is not a directory #
The error "Fatal Error: is not a directory" when running todo.sh -h occurs because the script cannot locate or access its required todo.txt directory, often due to improper installation, missing configuration, or running from the wrong location.
[^2_1]
[^2_2]
Quick Fixes #
- Ensure
todo.txtdirectory exists in the same folder astodo.sh(or wherever you run it from), containing an emptytodo.txtfile:mkdir todo.txt && touch todo.txt/todo.txt.[2][1] - Run with explicit directory flag:
todo.sh -d ~/path/to/todo.txt -h.[3][1] - Check installation: Clone from GitHub (
git clone https://github.com/todotxt/todo.txt-cli.git), thencd todo.txt-cliandln -s todo.sh ~/bin/todo(ensure~/binis in$PATH).[2]
Proper Setup Steps #
- Download or clone the repo:
git clone https://github.com/todotxt/todo.txt-cli.git ~/todo && cd ~/todo. [2] - Make executable:
chmod +x todo.sh. [2] - Create config if needed: Copy
todo.cfg.exampletotodo.cfgand edit paths. [2] - Test:
./todo.sh help(use./if not in PATH). [1][3]
Verify by listing tasks: todo.sh ls should work without errors post-setup.[1]
last updated:
