From owner-freebsd-questions Thu Aug 26 16:23:45 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dt010nb9.san.rr.com (dt010nb9.san.rr.com [204.210.12.185]) by hub.freebsd.org (Postfix) with ESMTP id E727514EB1 for ; Thu, 26 Aug 1999 16:23:42 -0700 (PDT) (envelope-from Doug@gorean.org) Received: from localhost (doug@localhost) by dt010nb9.san.rr.com (8.9.3/8.8.8) with ESMTP id QAA63702; Thu, 26 Aug 1999 16:23:36 -0700 (PDT) (envelope-from Doug@gorean.org) Date: Thu, 26 Aug 1999 16:23:36 -0700 (PDT) From: Doug X-Sender: doug@dt010nb9.san.rr.com To: Gary Kline Cc: questions@freebsd.org Subject: Re: find -f In-Reply-To: <199908262137.OAA20581@athena.tera.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 26 Aug 1999, Gary Kline wrote: > Is there a way of using find to locate all regular files that > are not binaries and also not executable scripts? > > I've bumped into this problem before a few times when I had to > chmod say *.[ch] and other text files from mode 0444 to 0644 when > there were hundreds of files in the tree. Take a look at the +X flag in chmod (note, that's capital X, not x). Doug -- "My mama told me, my mama said, 'don't cry.' 'She said you're too young a man to have as many women you got.' I looked at my mother dear and didn't even crack a smile. I said, 'If women kill me, I don't mind dyin!'" - John Belushi as "Joliet" Jake Blues, "I Don't Know" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message