Skip to content

reset

Reset the start date of the last entry.

Usage

bash
doing reset [OPTIONS] [DATE_STRING]

Aliases

  • begin

Arguments

ArgumentDescription
DATE_STRINGDate expression to reset the start time to (alternative to --back)

Options

FlagDescription
-b, --back BACKSet a specific start date (natural language). Aliases: --started, --since
--count COUNTMaximum number of entries to reset
-i, --interactiveInteractively select entries to reset
-r, --resumeRemove @done tag to re-open the entry
-t, --took TOOKSpecify duration (e.g. "1h30m") to set completion time relative to new start. Alias: --for
--after AFTERDate range (e.g. "monday to friday")
--age AGEWhich end to keep when limiting by count (newest/oldest)
--before BEFOREUpper bound for entry date
--bool BOOL_OPBoolean operator for combining tag filters (and/or/not/pattern)
--case CASECase sensitivity for search (smart/sensitive/ignore)
-x, --exactUse exact (literal substring) matching for search
--from FROMDate range expression (e.g. "monday to friday")
--notNegate all filter results
--only-timedOnly include entries with a recorded time interval
--search SEARCHText search query
-s, --section SECTIONSection name to filter by
--tag TAGTags to filter by (can be repeated)
-u, --unfinishedOnly include unfinished entries (no @done tag)
--val VALTag value queries (e.g. "progress > 50")

Examples

Reset the last entry's start time to now:

bash
doing reset

Reset the start time to 30 minutes ago:

bash
doing reset --back "30 minutes ago"

Re-open a finished entry and reset its start time:

bash
doing reset --resume -i

Released under the MIT License.