On 05/08/2019 20.52, Dave Howorth wrote:
On Mon, 5 Aug 2019 20:10:50 +0200 "Carlos E. R." <> wrote:
rsync $OPTIONS --password-file /root/cripta/keys/rsync.secrets --link-dest=root@Isengard::MyBook_Telcontar/$PREVIO \ --relative --include /data/vmware** --include=/data/storage_** --include=/data/cripta/** --include=/data/xtr** --include=/data/raid** \ --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/ \ / root@Isengard::MyBook_Telcontar/$DESTINO
"--include /data/vmware**" does not work. Perhaps /data/vmware/** will?
But "--include=/data/cripta/**" did not work. What do I do here? It is not consistent - yet it is a computer, it has to be consistent, but I do not see it.
I'm not sure what is not consistent. Neither worked. That is consistent, no?
But "--include=/data/storage_**" did work. Why not "--include=/data/cripta/**" or "--include /data/vmware**". And "--include=/data/raid**" did work.
Why do you use a double star (**) rather than a single star (*) BTW?
Because it is in the man page. -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)