All pastes #364496 Raw Edit

Untitled

public text v1 · immutable
#364496 ·published 2007-02-20 05:40 UTC
rendered paste body
#!/bin/sh


BACKUPDIR=/path/to/drive/xchat2logs-$(date +'%Y%m%d')

cd $HOME/.xchat2
tar cf - xchatlogs | ( cd $BACKUPDIR; tar xfp -)