From: Morten Welinder Date: Thu, 12 May 2005 16:37:19 GMT Subject: Re: [PATCH] cg-init should only process files Message-ID: <118833cc050512093750db7d55@mail.gmail.com> In-Reply-To: > - find * | xargs cg-add > + find * -type f | xargs cg-add I think we went through that a day or two ago: Problems: 1. You forgot symlinks. 2. It does not work if nothing matches "*". (Nor does the original.) 3. Either it should not match dotfiles in subdirectories, or else it should match them in the top directory too. 4. With needs some -print0 and "--" protection. Morten