Re: rsync deletion target files

2016-06-24 Thread Dominique Dumont
On Friday 24 June 2016 21:10:35 Dominique Dumont wrote: > I have tested though. Oops, my bad: I have NOT tested the options I suggested. Sorry about the confusion All the best -- https://github.com/dod38fr/ -o- http://search.cpan.org/~ddumont/ http://ddumont.wordpress.com/ -o- irc: dod a

Re: rsync deletion target files

2016-06-24 Thread Dominique Dumont
On Friday 03 June 2016 18:41:42 Rodolfo Medina wrote: > $ rsync --dry-run -vrt --delete --modify-window=1 Mail News howto ... > /mnt/pendrive/rodolfo May be rsync --dry-run -vrt --delete-excluded --delete --exclude '*' \ --include 'Mail|News|howto' /mnt/pendrive/rodolfo Theoretically, the 2

Re: rsync deletion target files

2016-06-24 Thread Cindy-Sue Causey
On 6/24/16, Cindy-Sue Causey wrote: > On 6/3/16, Rodolfo Medina wrote: >> rsync's `--delete' option works fine when the target directory is the >> same >> as >> the sender one. In the following example, I'm sending all the content of >> /home/rodolfo from machine1 to /home/rodolfo in machine2: >

Re: rsync deletion target files

2016-06-24 Thread Cindy-Sue Causey
On 6/3/16, Rodolfo Medina wrote: > Hi all Debian users. > > rsync's `--delete' option works fine when the target directory is the same > as > the sender one. In the following example, I'm sending all the content of > /home/rodolfo from machine1 to /home/rodolfo in machine2: > > $ rsync --dry-run

rsync deletion target files

2016-06-03 Thread Rodolfo Medina
Hi all Debian users. rsync's `--delete' option works fine when the target directory is the same as the sender one. In the following example, I'm sending all the content of /home/rodolfo from machine1 to /home/rodolfo in machine2: $ rsync --dry-run -vrtul --delete --exclude='/.*' . 192.168.0.2:/