Re: exclude directory from rsync

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



On 6/8/2015 10:12 PM, Tim Dunphy wrote:
rsync -avzp --exclude-from=/var/www/var/  /mnt/var/

rsync -avzp --exclude=/var/www/var/  /mnt/var/

But neither has worked. Can I get a suggestion on how to get this to happen?
how about...

    cd /var
    rsync -avzp --exclude=www/\* . /mnt/var






--
john r pierce, recycling bits in santa cruz

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux