rsync exclusions

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



Hi All,

I am using rsync  and I see --exclude as an option.

But it says --exclude pattern?

So how can I do an rsync on '/' except exclude /home/nackup?

I am doing:

rsync -avx / /mnt/sdb2/

can I simply do:

rsync -avx --exclude=/home/backup / /mnt/sdb2/

-ML
_______________________________________________
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