[prev in list] [next in list] [prev in thread] [next in thread]
List: suse-linux-e
Subject: Re: [SLE] Brainlocked over recursive script.
From: Rikard Johnels <rikard.j () rikjoh ! com>
Date: 2006-05-29 16:36:04
Message-ID: 200605291836.20730.rikard.j () rikjoh ! com
[Download RAW message or body]
On Saturday 27 May 2006 13:06, Stephen Allewell wrote:
> Per Jessen wrote:
> > Rikard Johnels wrote:
> >> This is almost embarasing..
> >> I am trying to recursively chmod a series of files.
> >
> > chmod -R ?
> >
> >
> > /Per Jessen, Zürich
>
> Is a better option
>
> find <dir> -type f -exec chmod 644 {} \;
>
> Replace <dir> with the required path or use . for the currect dir.
>
> chmod 644 on a directory means you wont be able to cd into it.
>
>
>
> Steve
>
> --
> Check the headers for your unsubscription address
> For additional commands send e-mail to suse-linux-e-help@suse.com
> Also check the archives at http://lists.suse.com
> Please read the FAQs: suse-linux-e-faq@suse.com
That seems so have done the trick :)
Thanks!
Again thinking of taking a programming course...
Question is what script language to get into... Perl, bash..?
--
/Rikard
-----------------------------------------------------------------------------
email : rikard.j@rikjoh.com
web : http://www.rikjoh.com
mob: : +46 (0)763 19 76 25
------------------------ Public PGP fingerprint ----------------------------
< 15 28 DF 78 67 98 B2 16 1F D3 FD C5 59 D4 B6 78 46 1C EE 56 >
[Attachment #3 (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic