https://github.com/elsehow/orgsumtime
Sum the duration of all logged time in a given org-mode file.
https://github.com/elsehow/orgsumtime
Last synced: about 1 year ago
JSON representation
Sum the duration of all logged time in a given org-mode file.
- Host: GitHub
- URL: https://github.com/elsehow/orgsumtime
- Owner: elsehow
- Created: 2018-09-29T23:31:49.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-29T23:46:06.000Z (over 7 years ago)
- Last Synced: 2025-03-18T10:56:05.233Z (over 1 year ago)
- Language: JavaScript
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# orgsumtime
Sum the duration of all [logged time in a given org-mode file](https://orgmode.org/manual/Clocking-work-time.html).
## install
`npm install -g orgsumtime`
## usage
```sh
orgsumtime ~/Notes/deft/serving\ method.org
# 13 hours
```
Use `--help` flag to see other options.
## programmatic api
```js
require('orgsumtime')('../Notes/my-great-org-file.org', duration => {
// this is a moment.js duration
console.log(duration)
})
```
## license
BSD