La Vita è Bella

Tuesday, December 13, 2005

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  



tags: , ,

23:39:32 by fishy - linux - Permanent Link

no comments yet - no trackbacks yet - karma: 29 [+/-]

May the Force be with you. RAmen