diff options
author | Jonas Smedegaard <dr@jones.dk> | 2014-07-03 17:47:35 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2014-07-03 18:15:38 +0200 |
commit | 918c4dbb2dedfeb98e78d53c5ee51aad0207f257 (patch) | |
tree | 23ca719ed0e4653a3cba58ef007a8ca0ab5bc273 /bin/mymerkur2ledger | |
parent | 64b9a887fbdcc6b0e6208e0fc8a2a4b27968b43f (diff) |
Restructure bank/{account}-{year}.* → {year}/assets/{account}.*.
Diffstat (limited to 'bin/mymerkur2ledger')
-rwxr-xr-x | bin/mymerkur2ledger | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/mymerkur2ledger b/bin/mymerkur2ledger index 429f40f..e047935 100755 --- a/bin/mymerkur2ledger +++ b/bin/mymerkur2ledger @@ -1,4 +1,7 @@ #!/bin/sh +rulesfile="$1" +shift + csvtool -t ";" -u COMMA square "$@" \ - | hledger print --rules-file merkur.rules -f- + | hledger print ${rulesfile:+--rules-file "$rulesfile"} -f- |