Problem with excludes and includes

Robert Parker rlp1938 at gmail.com
Sun Feb 26 07:54:43 MST 2012


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
Videos/Music/Playlist/
Videos/Music/Originals/
Downloads/Iso/

I've spent hours on the man page getting nowhere.

Thanks Bob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20120226/4235f11e/attachment.html>


More information about the rsync mailing list