La Vita è Bella

2005-12-13

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  

23:39:32 by fishy - Permanent Link

May the Force be with you. RAmen