* Carlos E. R. <robin.listas@telefonica.net> [08-01-19 18:01]:
I have:
OPTIONS="--archive --acls --xattrs --hard-links --sparse --stats --human-readable "
rsync $OPTIONS --password-file /root/cripta/keys/rsync.secrets \ --exclude=/lost+found --exclude=/dev --exclude=/sys --exclude=/proc --exclude=/run \ --exclude=/data --exclude=/mnt --exclude=/other --exclude=/media --exclude=/var/lib/samba/lock/ --exclude=/var/run/ \ --include=/data/storage_** \ / root@Isengard::MyBook_Telcontar/001
It is failing, /data/storage_** is not included.
What is the proper way in this tree:
/data/something/* /data/somethingelse/* /data/somethingmore/* /data/somethingevenmore/* /data/storage_a/* /data/storage_b/*
to copy /data/storage_a, /data/storage_b, and ignore all the rest, without explicitly listing all the rest? I thought that
--exclude=/data --include=/data/storage_**
would do it. The manual is very confusing to me.
perhaps, --exclude=/data --include-/data/storage_? -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org