Re: Cannot get the syntax of --include-from right

2011-09-16 Thread Robert Parker
On Fri, Sep 16, 2011 at 11:40 PM, Kevin Korb wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Also, includes only override excludes (which I see you are doing) but > they must be specified BEFORE the exclude they override.  IOW, your > include of .vimrc must be before your exclude of .

Re: Cannot get the syntax of --include-from right

2011-09-16 Thread Robert Parker
On Fri, Sep 16, 2011 at 10:47 PM, Steven Levine wrote: > In , > on 09/16/11 >   at 07:34 PM, Robert Parker said: > > HI Robert, > > > 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. >

Re: Cannot get the syntax of --include-from right

2011-09-16 Thread Kevin Korb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Also, includes only override excludes (which I see you are doing) but they must be specified BEFORE the exclude they override. IOW, your include of .vimrc must be before your exclude of .* or it will not do anything. On 09/16/11 11:47, Steven Levine

Re: Cannot get the syntax of --include-from right

2011-09-16 Thread Steven Levine
In , on 09/16/11 at 07:34 PM, Robert Parker 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

Cannot get the syntax of --include-from right

2011-09-16 Thread Robert Parker
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