Interact with you permanent tsb homebanking from your shell!
ptsb [options]
If your are running Linux you can use the date --date command to simplify the date range definition. You can put these aliases on your ~/.bashrc:
alias ptsb_stat='ptsb --statement -a c -n xyzt' alias ptst_last_month="statement_current -f `date +%Y/%m/%d --date='1 month ago'` -t `date +%Y/%m/%d`"
this help usage message!
Enable debug. This will be more verbose and will leave html on the current working directory.
filename configuration file path (default: ~/.ptsbrc). Please refer to manual page to see how this file is built.
print account balance
print account statement
Type of transaction to look on the statement. Type can be: \s-1ALL\s0, \s-1WITHDRAWAL\s0, \s-1DEPOSIT\s0
from date
to date
account type: can be 'c' (current account) or 'v' for (visa card)
4 digits representing the last 4 digits of the account number or visa card number.
Do not print balance when printing statement.
When printing statement grep using the regexp provided
where expression is a mathematical expression like '<300'
'=300'
'>=300' the expression will test the euro amount column only lines matching the expression will be printed
Print graph of the statement using gnuplot. Gnuplot is required!
Save \s-1PNG\s0 image in path.
Save the output of the statement inside a \s-1CSV\s0 file named filename. \s-1CSV\s0 format is: date,description,amount,balance last field presence depends on the -N flag.
Print version
Configuration file default location is ~/.ptsbrc and it looks like this:
-------8< -- ~/.ptsbrc -->8----------
open24_number=your_open24_number
password=your_internet_password
pan=your_personal_access_number
-------8< --------------->8----------
However you can put wherever you want. Just remember to use then the option -F /path/to/your/location.
Lines beginning with # will be interpreted as comment.
Starting from release 0.08 ptsb will use GnuPG to encrypt the configuration file using the private key of the user. Therefore you'll have to create your key if you didn't do this yet.
In case you want to decrypt your ptsbrc file use this command:
$ gpg -d /path/to/your/ptsbrc
This will print the encrypted file on the standard output.
Official \s-1CPAN\s0 page for Finance::Bank::IE::PermanentTSB http://search.cpan.org/~pallotron/Finance-Bank-IE-PermanentTSB/lib/Finance/Bank/IE/PermanentTSB.pm <http://search.cpan.org/~pallotron/Finance-Bank-IE-PermanentTSB/lib/Finance/Bank/IE/PermanentTSB.pm>
Author homepage <http://www.pallotron.net>
Author Blog (italian) <http://www.vitadiunsysadmin.net>
Author homepage on \s-1CPAN\s0 <http://search.cpan.org/~pallotron/>
Angelo \*(L"pallotron\*(R" Failla - <[email protected]>
Please report bugs to the author, no bug tracking system is set up yet.
Copyright (C) 2009 by Angelo \*(L"pallotron\*(R" Failla
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.