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

Revision: 1.0/1.0, last modified on 2005-12-14 @ 14:39.

Karma: 32 (61.94% out of 134 were positive) [+/-]

You can subscribe to RSS 2.0 feed for comments and trackbacks

Trackbacks:
There are currently no trackbacks for this item.
Use this TrackBack url to ping this item (right-click, copy link target). If your blog does not support Trackbacks you can manually add your trackback by using this form.

No comments yet

Add Comment

 

May the Force be with you. RAmen