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

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 excludin

RE: how to exclude hidden files/directories

2004-12-03 Thread Hong Zhu
Yes that worked! thanks very much!! Hong > -Original Message- > From: Wayne Davison [mailto:[EMAIL PROTECTED] > Sent: Friday, December 03, 2004 3:08 PM > To: Hong Zhu > Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Re: how to exclude hidden files/directories >

Re: how to exclude hidden files/directories

2004-12-03 Thread Wayne Davison
On Fri, Dec 03, 2004 at 02:29:57PM -0500, Hong Zhu wrote: > how am I able to exclude hidden directories to be transferred? Immediately prior to the --include="*/" add this: --exclude=".*/" ..wayne.. -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before p

RE: how to exclude hidden files/directories

2004-12-03 Thread Hong Zhu
day, December 03, 2004 1:53 PM > To: [EMAIL 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 >

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 transfe

how to exclude hidden files/directories

2004-12-02 Thread Hong Zhu
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... The syntax I'm using is as following: rsync -av --includ