On Fri, Sep 16, 2011 at 10:47 PM, Steven Levine <[email protected]> wrote: > In <CAAykW6mMRiTVqt0KrrcgYiwNvz7kjHNQC76=rJc+c=+qpg3...@mail.gmail.com>, > on 09/16/11 > at 07:34 PM, Robert Parker <[email protected]> said: > > HI Robert, > <snipped> > > 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.
Thank you Steven, The revised script part: nice -n 15 rsync -av --include-from="/home/bob/backup_includes" \ --exclude=".*" "$fromdir" "$todir" and backup_files: .vimrc .gitconfig .bash_aliases .bashrc And my backup script is now doing exactly what I want it to do. Bob Parker > > Steven > > -- > ---------------------------------------------------------------------- > "Steven Levine" <[email protected]> eCS/Warp/DIY etc. > www.scoug.com www.ecomstation.com > ---------------------------------------------------------------------- > > -- > Please use reply-all for most replies to avoid omitting the mailing list. > To unsubscribe or change options: > https://lists.samba.org/mailman/listinfo/rsync > Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html > -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
