Re: exclude hidden files

2011-08-20 Thread Benjamin R. Haskell
On Sat, 20 Aug 2011, Ken Gillett wrote: OK, thanks for that. For some reason that escapes me now, I was sure that [--exclude '.*'] caused problems. I'll have a go with just '.*'. My guess is that you were once trying to sync a directory containing hidden (dot) directories. So, e.g.: $ tr

Re: exclude hidden files

2011-08-20 Thread Ken Gillett
OK, thanks for that. For some reason that escapes me now, I was sure that it caused problems. I'll have a go with just '.*'. On 20 Aug 2011, at 09:38, francis.montag...@inria.fr wrote: > > On Fri, 19 Aug 2011 12:47:34 +0200 Ken Gillett wrote: > >> I want to exclude from the sync ALL files t

Re: exclude hidden files

2011-08-20 Thread Francis . Montagnac
On Fri, 19 Aug 2011 12:47:34 +0200 Ken Gillett wrote: > I want to exclude from the sync ALL files that start with a dot, IOW > hidden files. But using --exclude '.*' does funny things with > directories (or at least I think it does). Is there a recognised > correct way to do this? Using --exclud

Re: exclude hidden files

2011-08-19 Thread Robert Parker
On Fri, Aug 19, 2011 at 5:47 PM, Ken Gillett wrote: > I want to exclude from the sync ALL files that start with a dot, IOW hidden > files. But using --exclude '.*' does funny things with directories (or at > least I think it does). Is there a recognised correct way to do this? > > I thought --ex