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

[ale] rsync exclude list



 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 
 192.168.10.2:/home/pbc/Documents/ /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/* 
192.168.10.2:/home/pbc/Documents/ /home/pbc/Documents/

 
 it still copies software.. what am I doing wrong...



-- 
Paul Cartwright
Registered Linux user # 367800
Registered Ubuntu User #12459
http://usdebtclock.org/