[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Re:Help Navigating Directories



>  Not really, but what I do (generally just from command line, but this
could
> be written to a file and made a "script") is the following:
> ============ CUT HERE ============================
> for fn in `find . -print`
> do
>   if [ -d $fn ]
>   then
>     chmod 775 $fn
>   else
>     chmod 664 $fn
>   fi
> done
> ============ CUT HERE ============================

Larry,

Sorry to be thick-skulled, but you said you usually do this from the command
line. Steve Werby alluded to some fancy one-line commands as well, can you
combine the script above into a one line command that could be issued? Is
that possible?

Thanks again for all your help,

Brandon