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
Le Samedi 15 Avril 2006 11:39, Matt McCutchen a écrit :
This is a very common problem that people encounter with includes. If
you exclude .kde, rsync won't even go inside, so it won't notice
that .kde/share/apps/kmail is included.
There are three solutions. I give example filter files that
hi
i try to include and exclude file when i do a rsync
#!/bin/sh
# directory to backup
BDIR=/home/collinm/test/home
# includes file - this contains a wildcard pattern per line of files to
exclude
INCLUDE=include.txt
# excludes file - this contains a wildcard pattern per line of files to
hi
i try to do a backup of my home folder...
rsync -a -r -v --exclude-from=exclude.txt /home/test /tmp/
rsync do the backup...
when i erase folder in /home/test and do a rsync,
rsync don't erase it in /tmp/test...
any idea?
thanks
--
To unsubscribe or change options: