1
0
This repository has been archived on 2023-12-27. You can view files and clone it, but cannot push or open issues or pull requests.
metaledger/bin/reconcile

16 lines
454 B
Plaintext
Raw Permalink Normal View History

#!/bin/bash
# NOTE: It does not seem that aliases are properly expanded when reconciling
# with ledgerbil. You'll need to make sure you reconcile with the value actually
# used for the accounts in the transaction.
2022-07-26 21:53:57 -07:00
if [ ${#} -ne 1 ]; then
echo "Must provide an account name to reconcile."
echo "Usage: ${0} account_name"
exit 1
fi
SCRIPTPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
${SCRIPTPATH}/ledgerbil --reconcile ${1}