tag:infinitekind.tenderapp.com,2009-01-14:/discussions/general-questions/117207-exporting-categoriesInfinite Kind: Discussion 2021-12-10T08:43:59Ztag:infinitekind.tenderapp.com,2009-01-14:Comment/495315712021-12-07T05:08:38Z2021-12-07T05:08:38ZExporting categories<div><p>Offhand…</p>
<p>I have a script that can import categories into MD. From my site:</p>
<p><a href="https://yogi1967.github.io/MoneydancePythonScripts/">https://yogi1967.github.io/MoneydancePythonScripts/</a></p>
<p>Download the useful scripts zip and get import_categories.py.</p>
<p>From memory, the first few lines of comment s tells you the file format to use.</p></div>Stuart Beesley (Mr Toolbox)tag:infinitekind.tenderapp.com,2009-01-14:Comment/495315712021-12-07T05:26:30Z2021-12-07T05:26:30ZExporting categories<div><p>Instructions and example file attached:</p>
<pre>
<code># Usage: Run the script in Moneybot. It will ask you for the filename, various options.
# It will validate the data first and abort with any errors.
# Once validation is complete, it will ask you to confirm to proceed with category additions
# CSV file format is: "IE","Category","Currency","TaxRelated","Inactive","Comments"
# You can either use a header first row (fields in any order); or no header, but field order must be followed.
# You can omit optional fields
# IE(Income or Expense): Mandatory - set to I or E
# Category: Mandatory - format cat:subcat:subcat etc
# Currency: Optional - Will use Base currency if not specified. Use the Currency ID or Name
# TaxRelated: Optional - Y or N. Will default to No
# Inactive: Optional - Y or N. Will default to No
# Comments: Optional</code>
</pre></div>Stuart Beesley (Mr Toolbox)tag:infinitekind.tenderapp.com,2009-01-14:Comment/495315712021-12-10T03:57:00Z2021-12-10T08:43:58ZExporting categories<div><p>Thanks.</p></div>dean