-
-
Notifications
You must be signed in to change notification settings - Fork 91
Importing
Brett Terpstra edited this page Oct 25, 2021
·
2 revisions
Doing can import tasks from Timing.app reports, Calendar.app entries, or other doing-formatted files.
Doing import capabilities are based on plugins, and you can add a plugin for an import type if you're adventurous. See Creating Plugins.
If you want to sync up your Doing file with Timing's tracking:
- Open Timing and go to Reports
- Set the date span you want to import into doing
- Group by Project, Then by None
- Include Tasks with Title, (not as subgroup), Timespan, and Notes
- Uncheck App Usage
- Set File Format to JSON and Duration format to "XX:YY:ZZ"
- Include short entries if desired
- Export the report to a new file
Now you can run doing import --type timing -s SECTION PATH
, where SECTION is the name of the section you want to import the entries to (defaults to Currently), and PATH is the path to the JSON file. You can also add a tag (or tags) to all entries, or a custom prefix.
# Import entries to Projects section and add @timing to all new entries
doing import --type timing -s Projects --tag=timing "~/Desktop/All Activities.json"
# Import to default section (Currently) and prefix entries with '[Imported]'
doing import --type timing --prefix="[Imported]" "~/Desktop/All Activities.json"
...
...