Thanks Maktak,
But I don't want to do any editing in my files after my initial entry. I'm
looking for an automated way to do this without manually text editing a
file.
-Jimi
On Monday, August 12, 2019 at 1:08:00 PM UTC-7, maktak wrote:
>
> Hi Jimi,
>
> I use a regex pattern in the find & replace option of my text editor to
> clear transactions. This allows me to either clear all transactions
> ("replace all") in bulk or manually review each one before clicking
> "replace".
>
> ## Uncleared Header
>
> `^(\d{4,}/\d{2,}/\d{2,}) ([^*].*)$`
>
> ## Set to cleared
>
> `$1 * $2`
>
>
>
> On Sunday, August 11, 2019 at 6:05:00 PM UTC-4, Jimi Damon wrote:
>>
>> Hi,
>>
>> I routinely will write checks to contractors who perform gardening or
>> other tasks around the house. These aren't big ticket items and sometimes
>> it takes a while for the contractor to cash the checks.
>> I'm maintaining long ledger files and I would prefer to have a system
>> that just lets me specify the main ledger file and a converted CSV bank
>> statement in order to consolidate the individual check caching transactions
>> that may take up to 6 months to show up.
>>
>> In addition, I prefer scritpability over having to hand edit past
>> transactions to mark them as cleared.
>>
>> Is there a preferred way to do this without having to go back and mark
>> old entries in my ledger file as finally clearing ?
>>
>> Ideally, I'd like to mark the original Check to the customer as cleared,
>> but then have a deduction from a virtual account that only gets balanced
>> if/ when my CSV parsed Bank statement with the correct check number of
>> amount comes in.
>> I already have scripts that can parse my CSV file and generate Ledger
>> compatible output to Standard output. What I want is to be able to take
>> the output and clear a transaction from a long time ago.
>>
>> Thanks for any suggestions on this front.
>>
>>
>>
>>
>>
--
---
You received this message because you are subscribed to the Google Groups
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ledger-cli/5bc441e7-0734-47fa-a0ee-12ac6a390eb4%40googlegroups.com.