On Thu, Sep 17, 2009 at 11:15:33AM +0100, Darren Hook wrote:
> 2009/9/16 Kelsey Cummings <[email protected]>:
> > Is there a way to tell dirvish/rsync to keep all
> > of the directories under /var/log (for example) sync but not the files
> > contained inside them?
> 
> I haven't fully tested it myself but I think you can do e.g.:
> 
> exclude:
>         + /var/log/
>         + /var/log/**/        #subfolders
>         - /var/log/**

That doesn't seem to work as is but I haven't had time to try other
things in the same vein.  Thanks though, at least there is a direction
to look at now. ;)

-- 
Kelsey Cummings - [email protected]      sonic.net, inc.
System Architect                          2260 Apollo Way
707.522.1000                              Santa Rosa, CA 95407
_______________________________________________
Dirvish mailing list
[email protected]
http://www.dirvish.org/mailman/listinfo/dirvish

Reply via email to