Re: Transfer files matching a pattern

2007-11-13 Thread Paul Slootman
On Tue 13 Nov 2007, Matt McCutchen wrote: > > > Directories have to be created remotely only if files match > > > > That last restriction is a bit of a spoiler, > > It can be achieved with --prune-empty-dirs . Ah, that's the option I was missing. > > But if you're using --files-from anyway, why

Re: Transfer files matching a pattern

2007-11-13 Thread Matt McCutchen
On Tue, 2007-11-13 at 17:42 +0100, Paul Slootman wrote: > On Tue 13 Nov 2007, Ismaël BALLO wrote: > > I've googled but not found exactly what I want. > > I want to transfer *.log from all directories and subdirectories of /var. > > Directories have to be created remotely only if files match > > Th

Re: Transfer files matching a pattern

2007-11-13 Thread Paul Slootman
On Tue 13 Nov 2007, Ismaël BALLO wrote: > > I've googled but not found exactly what I want. > I want to transfer *.log from all directories and subdirectories of /var. > Directories have to be created remotely only if files match That last restriction is a bit of a spoiler, but ignoring that, thi