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 options exclude all files except the ones matching the include pattern. I have tested though. HTH -- https://github.com/dod38fr/ -o- http://search.cpan.org/~ddumont/ http://ddumont.wordpress.com/ -o- irc: dod at irc.debian.org