UP | HOME

Date: <2024-11-13 Wed>

Archive completed tasks in Org mode

You might have a tasks.org file where all your todos and timekeeping is placed. After a while the file gets really big and thus you need to archive the old entries that are either completed or cancelled. Here are the commands (which I found from stackoverflow.com) to clean up your tasks file:

For achiving only one heading

  1. C-c C-x A

For archiving headings in bulk

  1. M-m o a t r (Open agenda view for the buffer)
    • M-m o a (Opens Agenda)
    • < (Narrows down to this buffer)
    • t (Shows TODO entries)
  2. 2 r (Show all DONE entries)
  3. m (Mark for bulk action)
  4. B A (Bulk Archive)
    • B (Bulk action on marked entries)
    • A (Archive the entries)

You can send your feedback, queries here