Displaying 3 results from an estimated 3 matches for "rlp1938".
Did you mean:
rl319381
2011 Sep 16
2
Cannot get the syntax of --include-from right
Here is part of my backup script:
nice -n 15 rsync -avl --exclude=".*" \
--include-from="/home/bob/backup_includes" \
"$fromdir" "$todir"
Here is the content of /home/bob/backup_includes
/home/bob/.vimrc
/home/bob/.gitconfig
My problem is that neither the .vimrc nor .gitconfig are copied to the
backup directory.
I have read the man page about
2012 Feb 26
1
Problem with excludes and includes
Hi Folks,
I can't get the syntax of --include-from right, nothing at all gets
transferred.
The rsync command:
# do the backup
nice -n 15 rsync -av \
--include-from="/home/bob/backup_includes" \
--exclude-from="/home/bob/backup_excludes" \
$fromdir $todir
The excludes file:
.*
*~
Videos/
Downloads/
Dropbox/
The includes file:
.vimrc
.gitconfig
.bash_aliases
.bashrc
2009 Apr 15
2
Using rsync for a backup program but having trouble getting --exclude-from to work properly
Reading and re-reading the man page has got me nowhere with this issue
and searching your site on '--exclude-from' got me to the same place.
Here is the script I am using:
####################################
#/bin/bash
suffix=`date +%Y%m%d`
echo Suffix is "$suffix"
fromdir=/home/bob/
echo Source dir is "$fromdir"
todir="$maxtor6"BackupOfHome