.\" Automatically generated by Pandoc 2.9.2.1 .\" .TH "gtdcleanup" "1" "January 2021" "" "" .hy .SH NAME .PP gtdcleanup \- Perform a GTD-style cleanup of a todo.txt task file .SS SYNOPSIS .PP \f[C]gtdcleanup [-h] \f[R] .SS DESCRIPTION .PP This program will process a task file that is formatted according to the todo.txt specification, and group all tasks according to project. .PP Each project is given a project header. .PP Tasks in an existing project section are given a \[lq]+\[rq] project tag, if they do not already have one. .PP Tasks with a project tag that does not match the current project section are moved to the appropriate project section. .PP There is a special \[lq]_None\[rq] project section for tasks for which a project cannot be identified. .PP This is designed to be installable as a todo.txt-base pre or post hook. .SS ARGUMENTS .IP \[bu] 2 \f[I]\f[R] - the path to the todo.txt file .SS OPTIONS .IP \[bu] 2 \f[I]-h\f[R], \f[I]\-help\f[R] - Print help and exit .SS SEE ALSO .PP todo.txt-base(8), edittodo(8), vitodo(8), todo.txt(8), project(1)