| Crates.io | ynab-export |
| lib.rs | ynab-export |
| version | 0.0.6 |
| created_at | 2019-08-27 04:11:16.35278+00 |
| updated_at | 2025-01-13 06:43:49.213391+00 |
| description | ynab-export is a tool to help export a YNAB budget to a database |
| homepage | |
| repository | https://git.tozt.net/ynab-export |
| max_upload_size | |
| id | 159981 |
| size | 93,211 |
This is a simple program to export your YNAB data in CSV form, suitable for loading directly into a database. The repository includes an example schema file that can be used to represent this data.
ynab-export schema | psql ynab
ynab-export
psql ynab -c 'COPY accounts FROM STDIN' < accounts.tsv
psql ynab -c 'COPY category_groups FROM STDIN' < category_groups.tsv
psql ynab -c 'COPY categories FROM STDIN' < categories.tsv
psql ynab -c 'COPY months FROM STDIN' < months.tsv
psql ynab -c 'COPY categories_by_month FROM STDIN' < categories_by_month.tsv
psql ynab -c 'COPY payees FROM STDIN' < payees.tsv
psql ynab -c 'COPY transactions FROM STDIN' < transactions.tsv
psql ynab -c 'COPY subtransactions FROM STDIN' < subtransactions.tsv
psql ynab -c 'COPY scheduled_transactions FROM STDIN' < scheduled_transactions.tsv
psql ynab -c 'COPY scheduled_subtransactions FROM STDIN' < scheduled_subtransactions.tsv