Backup script for Palm
Here's my backup script for my Treo 650, it can keep 1 weeks backup archives:
1 #!/bin/sh
2
3 cd ~/palm
4 pilot-xfer -s backup
5 ARCNAME=backup-`LC_ALL=C date +%Y%m%d-%a`.tar.bz2
6 rm -f backup*`LC_ALL=C date +%a`*.tar.bz2
7 tar jcfv ${ARCNAME} backup/
8