On 2005-05-09 14:13, Fafa Hafiz Krantz <[EMAIL PROTECTED]> 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}'

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to