-------- Original Message --------
Subject: Re:[BackupPC-users] RE  Rsyncd/Samba include/exclude
From: Alan Orlič Belšak <[EMAIL PROTECTED]>
To: [email protected]
Date: 12.02.2008 11:11

> It's working now with exclude list :). Just one more question, is it
>  possible to say not to write empty directories?

AFAIK File::RsyncP doesn't support the rsync option --prune-empty-dirs,
so you have to include the whole tree, even when your filter rules leave
the directories empty. Reading the section about filter rules of the
rsync man page is highly recommended: ;-)

> One solution is to ask for all directories in the hierarchy to be
> included by using a single rule: "+ */" (put it somewhere before the
> "- *" rule), and perhaps use the --prune-empty-dirs option. Another
> solution is to add specific include rules for all the parent dirs
> that need to be visited.


Regards,
Bernhard

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
BackupPC-users mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to