Skip to content

Scans a folder of text files and aggregates all lines with @todo tag into a central todo list

License

Notifications You must be signed in to change notification settings

1l2p/todolister

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

todolister

A small shell script that scans a folder of text files and copies any line that contains the "@todo" string into a new text file. Adds links to other notes, using NVAlt internal link conventions. I'm not great at shell scripts and there are probably many ways to do this more elegantly (but then, that's what pull requests are for, right?). Would love to hear from other folks how to improve this.

I made this to work with NVAlt, which I use for everything, on OSX, http://brettterpstra.com/projects/nvalt/

Installation instructions

  • Update the shell script to specify your notes folder, your preferred file ending, and output file name
  • Create a .plist file in ~/Library/LaunchAgents to run the script every 5 minutes
  • Updated ownership and permissions (owner has to be root, permission 600)
  • Register the script with launchd on OSX: sudo launchtl load link-to-your-plist-file

About

Scans a folder of text files and aggregates all lines with @todo tag into a central todo list

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages