install-expenses1
Install an expense record entries onto your palm handheld device.
Usage
install-expenses [{-p | --port
<port>}]
[--version]
[{-q | --quiet}]
[{-? | --help}]
[--usage]
[{-t | --ptype
STRING}]
[{-e | --etype
STRING}]
[{-a | --amount
STRING}]
[{-V | --vendor
STRING}]
[{-i | --city
STRING}]
[{-g | --guests
NUMBER}]
[{-n | --note
STRING}]
[{-c | --category
STRING}]
[--replace]
Section
pilot-link: Conduits
Overview
install-expenses allows a Palm handheld with the Expense application to have expense records synchronized to it from the commandline. You can pass any of the fields (except categories, currently) to install-expenses and create new expense records on your Palm handheld.
Options
install-expenses options
-
-t, --ptype STRING -
Add entries to the "Payment Type" field. These can be in the form of "Cash", "Cheque" and others. See the Expense application on your Palm device for full details on payment types.
Note that the long name for this option has been renamed since 0.11.8.
-
-e, --etype STRING -
Add entries to the "Expense Type" field. These can be in the form of Airfare, Meals, and Others. See the Expense application on your Palm device for full details on expense types.
-
-a, --amount STRING -
Add currency amount entries to the "Amount" field. These can be in the form of 1.00 or "$10.00" and so on. See the Expense application on your Palm device for full details on amount types.
-
-V, --vendor STRING -
Add entries to the "Vendor" field. These are free-form values, and can be the name of a restaurant, an airline, or any other text value you wish to use.
-
-g, --guests DIGIT -
Add the number of attendees to the expense record, identified by DIGIT. If you ate lunch with four (4) additional people, you would put five (5) here, a numeric value.
-
-i, --city STRING -
Add entries to the "City" field in the expense record. These are free-form values, and can be the name of the location, city, or town that the expense record occured in.
-
-n, --note STRING -
Add a "Note" entry to the expense record. These are free-form values, and can be some notes related to the expense entry.
-
-c, --category STRING -
Install entries into the named category defined here. See the Expense application on your Palm device for full details on using these categories.
-
--replace -
Replace the entry found in the named category identified by the
--categoryoptionNote that the short name for this option has been removed since 0.11.8
Conduit Options
-
-p, --port <port> -
Use device file <port> to communicate with the Palm handheld. If this is not specified, install-expenses will look for the $PILOTPORT environment variable. If neither are found or supplied, install-expenses will print the usage information.
-
-q, --quiet -
Suppress 'Hit HotSync button' message.
-
--version -
Display version information for install-expenses and exit without connecting.
Help options
-
-h, --help -
Display the help synopsis for install-expenses and exit without connecting.
-
--usage -
Display a brief usage message and exit without connecting.
Usage
The program will connect to the Palm handheld, and install entries into the Expense application based on values passed to install-expenses arguments.
Examples
install-expenses -p /dev/pilot -c Unfiled -t Cash -e Meals -a 10.00 -V McDonalds -g 21 -l "San Francisco" -N "This is a note"
Installs a new expense; you are recording having 21 guests at McDonalds in the city of San Francisco for a meal which cost 10.00 units of your default currency and you added a simple note. The expense will take the default date - today.
Releases
2 releases since Debian 3.1 (Sarge); the text changed 1 time.
--ptype since Debian 4.0 (Etch);
--quiet since Debian 4.0 (Etch);
--usage since Debian 4.0 (Etch);
-q since Debian 4.0 (Etch).
--ttype until Debian 3.1 (Sarge);
-r until Debian 3.1 (Sarge);
-v until Debian 3.1 (Sarge).