#!/bin/bash
BACKUP_TARGET=rags.ath.cx:~/backups
#BACKUP_TARGET=csf:~/backups
cd $HOME
PATH_FILES=""
PATH_FILES="$PATH_FILES .local/bin/"
PATH_FILES="$PATH_FILES .kde/share/apps/knotes/"
#for f in $PATH_FILES ; do
# echo ============
# echo rsync -avz "$f" "$BACKUP_TARGET/$f"
# rsync -avz "$f" "$BACKUP_TARGET/$f"
#done
DATA_FILES=""
DATA_FILES="$DATA_FILES Desktop Thesis Projects Papers"
DATA_FILES="$DATA_FILES /usr/local/log"
DATA_FILES="$DATA_FILES sysnotes"
BKMK_FILE=""
BKMK_FILES="$BKMK_FILES .kde/share/apps/konqueror/bookmarks.xml"
BKMK_FILES="$BKMK_FILES .mozilla/firefox/*/bookmarks.html"
INIT_FILES=""
INIT_FILES="$INIT_FILES .bash_profile .bashrc .gdbinit .gtkrc* .kilescp*"
INIT_FILES="$INIT_FILES .log* .octave* .screenrc .twinrc"
INIT_FILES="$INIT_FILES .vim .vimrc .mc .xmms"
INIT_FILES="$INIT_FILES .xmodmap.conf .Xresources .xinitrc .fonts.conf "
INIT_FILES="$INIT_FILES .icewm"
echo ============
echo rsync -avz $DATA_FILES $PATH_FILES $BKMK_FILES $INIT_FILES $BACKUP_TARGET
rsync -avz $DATA_FILES $PATH_FILES $BKMK_FILES $INIT_FILES $BACKUP_TARGET
#INIT_FILES="$INIT_FILES .icewm/{pref*,tool*,menu,keys,win*,theme*}"
#rsync -rv ~/dist/gwc-lib-0.05 $BACKUP_TARGET
#rsync -rv ~/vtkCISG-MIF/objects/library/CISGRegistration $BACKUP_TARGET
#rsync -rv ~/comparop $BACKUP_TARGET
#rsync -rv ~/nag $BACKUP_TARGET
#rsync -rv ~/TMI $BACKUP_TARGET
echo Backup complete, press enter to continue...
read
Subscribe to:
Post Comments (Atom)
Blog Archive
-
▼
2008
(12)
-
▼
April
(12)
- My routine network rsync backup script
- Orient JPEGs so if in portrait orientation, rotate...
- Using VIM's tags interface for OCaml programs via ...
- simple backup script
- script to fix modifier keys on ubuntu debian gnu l...
- The TCL War
- How to configure Sun's Wireless Toolkit to use pla...
- HTML source code publishing with syntax highlighti...
- LCD screen brightness control program for Linux
- Who is guilty?
- NetBeans 6.01 Visual Mobility Designer plugin fail...
- Netbeans errors with toplinklib
-
▼
April
(12)
No comments:
Post a Comment