Palm and Linux: Making the Connection - page 3
Connecting with Pilot-Link
If you don't plan to use your Palm with anything other than the GUI tools available, you can skip this section. Pilot-link is primarily designed for command-line use. On the other hand, pilot-link provides some useful tools you can incorporate into scripts or programs of your own. Pilot-link also provides tools for routine maintenance of your Palm that don't require a complex or cumbersome GUI interface.
The first pilot-link program you might want to look at is pilot-xfer, which we used to check your Palm's connection to the computer. pilot-xfer can perform a full backup of your Palm, which is recommended before you do much else with it.
To perform a backup, you'll need to open an xterm and create a directory for your backup data using the command mkdir pilot_backup . Once you've created the directory, you can backup your Palm data by using the command pilot-xfer -b ~/pilot_backup/. If you need to restore your data, you can use the command pilot-xfer -r ~/pilot_backup/ .
pilot-xfer is probably the most useful program you'll encounter before you get started using GUI interfaces with your Palm. If you're curious about what else pilot-xfer can do, use the command pilot-xfer --help, which details how to do incremental backups and several other useful things.
Another fairly useful program that comes with the pilot-link package is addresses. This program bears specific mention because it isn't quite as friendly as some of the other pilot-link programs. It will appear to "hang" when you run it, since it never asks you to press the HotSync button on the Palm's cradle. It doesn't automatically assume /dev/pilot is linked to your Palm, either. You also have to specify the port your Palm's cradle is connected to with a command line parameter.
To get a nicely formatted list of the addresses stored in the Palm, enter the command addresses /dev/pilot > addresses.txt and press the HotSync button on your Palm's cradle after pressing the Return key.
See the address list this produces with less addresses.txt.
There's a small amount of documentation available with pilot-link, as well. Check in the /usr/doc/pilot-link directory on your system for the README file, which lists all the programs available with pilot-link.
Solid state disks (SSDs) made a splash in consumer technology, and now the technology has its eyes on the enterprise storage market. Download this eBook to see what SSDs can do for your infrastructure and review the pros and cons of this potentially game-changing storage technology.
- 1Linux Top 3: Alienware, KDE and Ubuntu 13.04
- 2Linux Top 3: Linux Mint Olivia, Fedora 19's Cat and Ubuntu's Mission Accomplished Moment
- 3GNOME 3.8 Debuts New Open Source Linux Desktop
- 4Linux Top 3: Linux 3.10 Goes Long, Linux 3.11 Advances as LXDE Merges
- 5Linux Top 3: Ubuntu Kaylin, Debian Wheezy and Linux Mint