rsync bug

michael michael8110 at terra.com.br
Sun Nov 14 06:49:07 GMT 2004


I discovered that if etc/ is in an exclude file ,anything with etc will  
also be excluded,e.g. /usr/etc , /usr/local/etc ,and so on.Command i used:

rsync -av  -e ssh / mike:/ --exclude-from=/home/michael/excludes_mike  
--delete

and /home/michael/excludes_mike read at first

dev/
mnt/	
proc/
tmp/
home/michael/Shared/*
home/michael/Incomplete/*
backup/
etc/

Later when i removed /etc from this list,changing it to

mnt/	
proc/
tmp/
home/michael/Shared/*
home/michael/Incomplete/*
backup/
etc/HOSTNAME
etc/fstab
etc/inittab
etc/ssh/
etc/ssl/
etc/hotplug.d/
etc/hotplug/

every file with etc (not belonging to /etc )in its name was sync-ed,which  
must mean they had been previously excluded.
-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/


More information about the rsync mailing list