Re: pulling selected subdirs by wildcard

2002-01-29 Thread Dave Dykstra
On Mon, Jan 28, 2002 at 02:17:35PM -0600, Michael Brutsch wrote: > I am trying to sync a tree, as follows: > > /top > |-dir1 > | |-data > | > |-newdir > | |-data > | > |-etc,etc > > I need to pull just the 'data' directories, then push back > everything BUT the data directories.

pulling selected subdirs by wildcard

2002-01-28 Thread Michael Brutsch
I am trying to sync a tree, as follows: /top |-dir1 | |-data | |-newdir | |-data | |-etc,etc I need to pull just the 'data' directories, then push back everything BUT the data directories. I tried this: rsync --include "*/" --include "data/" --exclude "*" but it just includes