#!/bin/sh
# file that contains a list of directories not to back up
IGNORE=/home/vco/.rsyncIgnoreList
# directory to back up
SOURCE=/home/vco
# location to back up to
DESTINATION=/mnt
rsync -aP --exclude-from=$IGNORE \
--progress \
$DESTINATION \
$SOURCE
# fyi :
#Content of Ignore List : (~/.rsyncIgnoreList)
#
#
#USBDrive
#compressed_files
#linux_isos
#Music
#SDCARDVIDEO
#R-Pi
#ImageFiles
#vmShare
#VirtualBox VMs
# After running this script the DESTINATION has the following files :
#.
#..
#.adobe
#.appcfg_nag
#.aptitude
#.bash_history
#.bash_logout
#.bashrc
#.cache
#.change.c.swp
#.compiz
#.config
#.dbus
#.dmrc
#.dropbox
#.dropbox-dist
#.filezilla
#.gconf
#.gimp-2.8
#.gitbook
#.gitconfig
#.gksu.lock
#.gnome
#.gnome2
#.gnome2_private
#.grafx2
#.gstreamer-0.10
#.gvfs
#.halp.c.swp
#.ICEauthority
#.idlerc
#.irssi
#.java
#.kde
#.lastpass
#.lesshst
#.local
#.macromedia
#.mozilla
#.mypaint
#.pip
#.pki
#.processing
#.profile
#.python_history
#.rsyncBashTest.sh.swp
#.selected_editor
#.Skype
#.ssh
#.texmf-var
#.thumbnails
#.thunderbird
#.tuxpaint
#.txt
#.vim
#.viminfo
#.vimrc
#.vimrc.swp
#.wireshark
#.Xauthority
#.xdvirc
#.xpaint
#.xsession-errors
#.xsession-errors.old