EnglishFrenchSpanish

OnWorks favicon

ptsbp - Online in the Cloud

Run ptsbp in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command ptsbp that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


ptsb - Interact with you Permanent TSB homebanking from your shell!

SYNOPSIS


ptsb [options]

Print accounts balance:
"ptsb [ -F /path/of/conf/file ] -b"

Print account statement:
"ptsb [ -F /path/of/conf/file ] -s -a c -n <4digits" -f yyyy/mm/dd -t yyyy/mm/dd>

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`"

OPTIONS


-h | --help
this help usage message!

-D | --debug
Enable debug. This will be more verbose and will leave html on the current working
directory.

-F /path/to/config/file | --file /path/to/config/file
filename configuration file path (default: ~/.ptsbrc). Please refer to manual
page to see how this file is built.

-b | --balance
print account balance

-s | --statement
print account statement

-T type | --transation-type type
Type of transaction to look on the statement. Type can be: ALL, WITHDRAWAL,
DEPOSIT

-f | --from--date yyyy/mm/dd
from date

-t | --to-date yyyy/mm/dd
to date

-a [c | v] | --account-type [c | v]
account type: can be 'c' (current account) or 'v' for (visa card)

-n digits | --account-num digits
4 digits representing the last 4 digits of the account number or visa card number.

-N | --no-balance
Do not print balance when printing statement.

-r | --regexp
When printing statement grep using the regexp provided

-e | --expr
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

-g | --graph
Print graph of the statement using gnuplot. Gnuplot is required!

-i path | --image path
Save PNG image in path.

-o filename | --output filename
Save the output of the statement inside a CSV file named filename. CSV format is:

date,description,amount,balance

last field presence depends on the -N flag.

-v | --version
Print version

CONFIGURATION FILE


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.

Use ptsbp online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Avogadro
    Avogadro
    Avogadro is an advanced molecular
    editor designed for cross-platform use
    in computational chemistry, molecular
    modeling, bioinformatics, materials
    science and ...
    Download Avogadro
  • 2
    XMLTV
    XMLTV
    XMLTV is a set of programs to process
    TV (tvguide) listings and help manage
    your TV viewing, storing listings in an
    XML-based format. There are utilities to
    do...
    Download XMLTV
  • 3
    strikr
    strikr
    Strikr Free Software project. Artifacts
    released under a 'intent based'
    dual license: AGPLv3 (community) and
    CC-BY-NC-ND 4.0 international
    (commercial)...
    Download strikr
  • 5
    GIFLIB
    GIFLIB
    giflib is a library for reading and
    writing gif images. It is API and ABI
    compatible with libungif which was in
    wide use while the LZW compression
    algorithm was...
    Download GIFLIB
  • 6
    Alt-F
    Alt-F
    Alt-F provides a free and open source
    alternative firmware for the DLINK
    DNS-320/320L/321/323/325/327L and
    DNR-322L. Alt-F has Samba and NFS;
    supports ext2/3/4...
    Download Alt-F
  • More »

Linux commands

Ad