Skip to content

darkmuck/mstodoexporter

Repository files navigation

mstodoexporter

A CLI Tool to export all data from a local Microsoft To Do database.

Requirements

  1. Install Microsoft To Do
winget install 9NBLGGH5R558
  1. Install .NET 9.0 SDK
winget install dotnet-sdk-9.0
  1. Launch Microsoft To Do and authenticate to synchronize your data.

  2. Update the configuration values in appsettings.json:

    • dbPath - full file path to the sqlite database (e.g. %Localappdata%\Packages\Microsoft.Todos_8wekyb3d8bbwe\LocalState\AccountsRoot\0892acdb3df940acb21ad7e3cbe37926\todosqlite.db)
    • outputDir - full path to the export location (e.g. %userprofile%\mstodoexporter_output)
    • clearOutputDirBeforeExport (true/false) - clear existing outputDir, if it exists, before exporting data
    • archiveOutput (true/false) - create a zip archive of the exported data
    • removeOutputDirAfterArchive (true/false) - remove outputDir contents after exporting data
    • archiveOutputDirIfExistsBeforeExport (true/false) - create a zip archive of existing outputDir, if it exists, before exporting data
    • nonInteractive (true/false) - execute without requiring any user input, such as asking to continue upon encountering an error
  3. Build and run

Release History

Version 1 (2025-10-29)

The goal of this first release was to make it work.

The code needs to be cleaned up and restructured.

About

CLI Tool to export data from a Microsoft To Do database.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages