Section: Conduits (1)
Updated: pilot-link - 0.11.8
Return to Main Contents
install-expenses - Install an expense record from various parameters and arguments passed at connection time.
install-expenses [-p <port>] [-qrt] [-c <category>] [<filename>]
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.
- -p, --port <port>
Use device file <port> to communicate with the Palm handheld. If this is not specified, will look for the $PILOTPORT environment variable. If both are not found or supplied, install-expenses will fall back to /dev/pilot
- -h, --help
Display the help synopsis for install-expenses
- -v, --version
Display version information for install-expenses
- -t, --ttype <ttype>
Add entries to the "Payment Type" field. These can be in the form of Cash, Check, and Others. See the Expense application on your Palm device for full details on payment types.
- -e, --etype <etype>
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 <amount>
Add dollar 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 <vendor>
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 <num>
Add the number of attendees to the expense record, identified by <num>. If you ate lunch with four (4) additional people, you would put five (5) here, a numeric value.
- -i, --city <city>
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 <note>
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 <category>
Create entries into the named category defined here. See the Expense application on your Palm device for full details on using these categories.
- -r, --replace <category>
Replace the entry found in the named category identified by <category>.
The program will connect to the Palm handheld, and install entries into the Expense application based on values passed to install-expenses arguments.
install-expenses has no known bugs at this time.
Report bugs at http://bugs.pilot-link.org/
install-expenses was written by community authors, the original author is unknown.
- SEE ALSO
linux.jgfs.net manual pages