On Thu, Oct 20, 2011 at 2:39 PM, Peter Ross <[email protected]> wrote:
> Hi Quentin,
>
> On Mon, Oct 10, 2011 at 5:25 AM, quentinsf <[email protected]> wrote:
>> Hello all -
>>
>> I know there are various CSV -> Ledger converters out there, but I
>> decided to create one more!  (Basically, I couldn't get the ones I
>> found to work, or to handle the format produced by my bank.)
>>
>> So I've created icsv2ledger, which you can find on GitHub at
>>
>>   https://github.com/quentinsf/icsv2ledger
>>
>> The 'i' stands for interactive: as it goes through your CSV file, it
>> tells you which account it thinks each entry should be posted to, and
>> gives you the option to change it or just hit return.  If you want to
>> change it, it does tab-completion on account names.
>>
>> More information at the above link - feedback most welcome!
>>
> Great job.
>
> I've made a fork on github: https://github.com/petdr/icsv2ledger and
> just done some minor spelling mistakes work.
>
> I have two issues.
>
> Issue number one is that when I do tab completion: I end up with
> strings like Expenses:Expenses:Food:Groceries not the duplicate
> Expenses, I'm not sure why yet.  Any hints?
>
> Issue number two is how to handle people with multiple bank accounts
> at different institutions.  On my personal branch of your code I use
> the -a option to handle this.  I only recognise N values which are
> valid for this and if I get some other value I throw an exception.
> For each of the known values of -a I then set up how to parse the
> account.  My only remaining issue is that I need to set the no_header
> option value according to this value.
>
> Feel free to cherry pick my work and take what you want.
>
A final thing is that each account is in a currency, that should be
supported as well.  I will have some patch for this at some point.

Reply via email to