osvc

scripts to save some time with self-employed stuff
git clone git://gtms.dev/osvc.git
Log | Files | Refs

commit dc265ecde2eee2ebe256d8e33f77ec2cf3fba8bc
parent 1fdb6460b3a1f0de03c1eda6dd17eaa880ee1f6e
Author: Tomas Nemec <nemi@skaut.cz>
Date:   Fri, 24 Sep 2021 22:47:16 +0200

feat: fin-period

shortuct script to list transactions from fio account from date.

Diffstat:
Afio-period | 17+++++++++++++++++
1 file changed, 17 insertions(+), 0 deletions(-)

diff --git a/fio-period b/fio-period @@ -0,0 +1,17 @@ +#!/usr/bin/env zsh +# +# Usage: fin-period <acc> <period> + +usage="$0 <acc> <period>" + +function fail() { + print $usage >&2 + exit 1 +} + +acc="$1" +period="$2" + +[[ -z $acc || -z $period ]] && fail + +fio -a "$acc" t p -f `date -Idate --date="$period"`