Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Chmod] Permissions des fichiers [résolu]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
Said
n00b
n00b


Joined: 14 Oct 2007
Posts: 24

PostPosted: Mon Nov 12, 2007 10:33 am    Post subject: [Chmod] Permissions des fichiers [résolu] Reply with quote

Bonjour

J'ai un ptit souci avec les chmod. j'ai un répertoire dans lequel il ya encore des repertoires et des fichiers. j'aimerai "Chmoder" tous les fichiers sans " chmoder" les repertoires.

Auriez vous la commande miracle qu'il faut,

Merci


Last edited by Said on Mon Nov 12, 2007 2:58 pm; edited 1 time in total
Back to top
View user's profile Send private message
geekounet
Bodhisattva
Bodhisattva


Joined: 11 Oct 2004
Posts: 3772
Location: Wellington, Aotearoa

PostPosted: Mon Nov 12, 2007 10:39 am    Post subject: Reply with quote

Code:
$ find -type f -exec chmod xxx '{}' \;

;)

EDIT: avec zsh, ça peut aussi donner ça :)
Code:
$ chmod xxx **/*(.)
Back to top
View user's profile Send private message
Said
n00b
n00b


Joined: 14 Oct 2007
Posts: 24

PostPosted: Mon Nov 12, 2007 10:53 am    Post subject: Reply with quote

Merci :)
Back to top
View user's profile Send private message
geekounet
Bodhisattva
Bodhisattva


Joined: 11 Oct 2004
Posts: 3772
Location: Wellington, Aotearoa

PostPosted: Mon Nov 12, 2007 11:15 am    Post subject: Reply with quote

Oublie pas le (résolu) ;)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum