rsync --exclude-from fileesclusi.txt

Paul Slootman paul at debian.org
Thu May 18 10:53:19 GMT 2006


On Thu 18 May 2006, sinidr at libero.it wrote:

> Hi!I want to exclude some files to transfer from my local to the remotehost, so I created a file called fileesclusi.txt,with this lines:
> 
> /etc/fstab
> /etc/ntp.conf.predhclient
> /etc/udev
> /etc/openldap
> /etc/gpm-root.conf
> /home/copia/x.txt
> 
> This is the command that I use,I've not errors, but the others files in the directory don't arrive to the destination..why?
> 
> rsync -avvz --delete --rsh=ssh --stats --exclude-from fileesclusi.txt 192.168.xxx.xxx:/home/vrrp/dir/

You don't specify a destination directory, so rsync only shows the
list of the source.


Paul Slootman


More information about the rsync mailing list