[GNC] How to bulk import about 130 Securities entries?

Robert Simmons rsimmons0 at gmail.com
Sun Aug 14 16:04:39 EDT 2022


The program you want to use that is the macOS equivalent of what the other
reply suggested is called "Automator". As long as you have not moved it, it
is located in "Launchpad > Other > Automator" or "Applications > Automator".

Also, this is just a general suggestion about XML manipulation (or
manipulation of any structured data for that matter): don't edit it
directly with a text editor even if you're confident you know what you're
doing. Humans will always make mistakes. Use a library in the language of
your choosing to parse the data into objects in that language. Then
manipulate the objects. When you're done, all libraries have functionality
to emit well formed structured data back from the modified objects. For
XML, I use Python's xml.etree.ElementTree, but the concept that I'm
referring to is language agnostic. Pick whatever language you feel
comfortable with.


More information about the gnucash-user mailing list