[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] rsync exclude list

IIRC  The exclude list is from the dir the file is located in.  I hold
an exclude.txt in /home/$USER and it is as follows:


Works for me.

I suspect you need this:


Assuming that /software is off of /home/pbc, ie, /home/pbc/software/

NOTE the IIRC.   

On Wed, 2010-06-30 at 13:01 -0400, Paul Cartwright wrote:
> ok, so just in case my HD decides to get too hot & crashes, I decided to take 
>  my OLD dell desktop & make a copy of my current setup, with logins for me & 
>  wife..
>  Debian Lenny. No big deal, got it setup, setup openssh-server, ran rsync.. 
>  oops, I don't have near enough space on old driver, so I need to EXCLUDE some 
>  STUFF.. I have a folder under Documents called software. Here is my rsync 
>  script:
>  rsync -varpltzo --exclude-from=/home/pbc/bin/dontrsync 
> /home/pbc/Documents/
>  heres the /home/pbc/bin/dontrsync file:
>  /home/pbc/Documents/software/*
> software/
> /software/
> /software/*
> I've also tried:
> rsync -varpltzo --exclude=/home/pbc/Documents/software/* 
> /home/pbc/Documents/
>  it still copies software.. what am I doing wrong...

damon at damtek.com