some file are not there
Marc Collin
redfox26 at videotron.ca
Sat Feb 20 19:19:01 MST 2010
hi
i try to backup some dir of my hd
i had an old script... but i lost it...
i tried to create a new one, without success
include.txt
+ .kde/
+ .kde/share/
+ .kde/share/apps/
+ .kde/share/apps/kmail/***
+ .kde/share/apps/kwallet/***
- .**
exclude.txt
rpm/
mp3/
Download/
.*
my backup script:
#!/bin/sh
# directory to backup
BDIR=/home/$USER
#destination
DEST=/dev/sr0
# excludes file
EXCLUDES=/home/$USER/bin/exclude.txt
#include file
INCLUDES=/home/$USER/bin/include.txt
#rsync -a -r -v --delete --exclude-from=exclude.txt /home/test /tmp/
rsync -a -r -v --delete --prune-empty-dirs --exclude-from=$EXCLUDES --include-
from=$INCLUDES $BDIR $DEST
the file in the include.txt is not there
any idea?
More information about the rsync
mailing list