with these rsync rsync [...] /var/ /dir/ rsync [...] /etc/ /dir2/ And exclude file: excl
/apache2/* That will exclude both /var/apache2/* and /etc/apache2/* How can I tell rsync I want /var/apache2 excluded, but not /etc/apache2? I mean short of using separate excl files for each run Using something like the start of an absolute name: `/etc/apache2/*' Allows both /etc/apache2 and /var/apache2 to be collected -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html