[Wiltshire] rsync very selectively

David Fletcher dave at thefletchers.net
Mon Jun 11 20:57:29 UTC 2012


On Mon, 2012-06-11 at 17:19 +0100, Pete Houston wrote:
> On Mon, Jun 11, 2012 at 04:46:40PM +0100, David Fletcher wrote:
> > and the BackupIncludes file contains
> > scripts/
> > .bash*
> 
> For recursion into scripts/ would
> 
> scripts/***
> 
> do the job? This assumes a modern rsync (>2.6.6).
> 
> Pete

Pete,

That appears to be doing exactly what I wanted it to do, thanks. Remind
me to buy you a beer if you see me in the pub.

How do you know this trick? I seemed to spend hours sifting through the
man page and google searches and couldn't find it.

Dave





More information about the Wiltshire mailing list