Re: commande -exec

Pàgina inicial

Reply to this message
Autor: Emmanuel Rouat
Data:  
A: La Guilde
Assumpte: Re: commande -exec
xdeforge@??? wrote:
>
> voulant appliquer des droits 777 à tous les rep d'une arborescence je fais :
>
> find . -type d -exec chmod 777 {} \;
>
> mais j'ai une erreur : missing argument to '-exec' : qq chose m'aurait
> échappé ???


ben ca marche parfaitement chez moi...... ??

Aurais tu des noms de repertoires avec des espaces? C'est peut-etre ca...

essaye :

find . -type d -print0 -exec chmod 777 {} \;

pour voir...


manu