Cannot get the syntax of --include-from right
Steven Levine
steve53 at earthlink.net
Fri Sep 16 09:47:53 MDT 2011
In <CAAykW6mMRiTVqt0KrrcgYiwNvz7kjHNQC76=rJc+c=+Qpg3b3Q at mail.gmail.com>,
on 09/16/11
at 07:34 PM, Robert Parker <rlp1938 at gmail.com> said:
HI Robert,
>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
The paths in your --include-from file must be relative to $fromdir.
In general, this is true of all paths other than paths specified on the
command line.
The paths on the command line effectively create logic roots and the other
paths will be relative to these paths.
Steven
--
----------------------------------------------------------------------
"Steven Levine" <steve53 at earthlink.net> eCS/Warp/DIY etc.
www.scoug.com www.ecomstation.com
----------------------------------------------------------------------
More information about the rsync
mailing list