Date: Tue, 10 May 2005 01:18:09 +0300 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: Fafa Hafiz Krantz <fteg@london.com> Cc: freebsd-questions@freebsd.org Subject: Re: On removing ^M Message-ID: <20050509221809.GB782@gothmog.gr> In-Reply-To: <20050509191321.924034BEAE@ws1-1.us4.outblaze.com> References: <20050509191321.924034BEAE@ws1-1.us4.outblaze.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2005-05-09 14:13, Fafa Hafiz Krantz <fteg@london.com> wrote: > So in conclusion, does this sh script look good? > I mean, can the first 3 commands be put like that? > > $ chown -R fafa:wheel * > > $ find . -type d -exec chmod 755 {} \; > $ find . -type f -exec chmod 644 {} \; Yes. That looks fine. You may want to quote those {} characters. Some shells may interpret them. Compare, for instance, the output of the following two commands in tcsh: % echo {a,b,c} % echo '{a,b,c}'
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050509221809.GB782>