Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Aug 1999 16:23:36 -0700 (PDT)
From:      Doug <Doug@gorean.org>
To:        Gary Kline <kline@tera.com>
Cc:        questions@freebsd.org
Subject:   Re: find -f <type>
Message-ID:  <Pine.BSF.4.10.9908261623080.63487-100000@dt010nb9.san.rr.com>
In-Reply-To: <199908262137.OAA20581@athena.tera.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9908261623080.63487-100000>