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 --exclude

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 that

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.: $

exclude hidden files

2011-08-19 Thread Ken Gillett
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 --exclude '.???*' would avoid the directory issue by only

Re: exclude hidden files

2011-08-19 Thread Robert Parker
On Fri, Aug 19, 2011 at 5:47 PM, Ken Gillett email...@ukgb.net 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

Re: how to exclude hidden files/directories

2004-12-03 Thread Martin Scharrer
Hi, On Thursday 02 December 2004 22:24, Hong Zhu wrote: Hi all, I'm rsync'ing all directories tree plus *.html and .htaccess files but excluding everything else. Although *.html files are indeed the only files get transferred, hidden files and directories like .abc also get transferred...

RE: how to exclude hidden files/directories

2004-12-03 Thread Hong Zhu
PROTECTED] Subject: Re: how to exclude hidden files/directories Hi, On Thursday 02 December 2004 22:24, Hong Zhu wrote: Hi all, I'm rsync'ing all directories tree plus *.html and .htaccess files but excluding everything else. Although *.html files are indeed the only files get