[linux-l] Re: Skripting-Hilfe gesucht

Rocco Rutte pdmef at cs.tu-berlin.de
Do Apr 28 12:59:06 CEST 2005


Hi,

* Jan-Benedict Glaw [05-04-27 17:21:39 +0200] wrote:

>find /path/to/mountpoint -type f \( -name '*.iso' -o -name '*.mp3' \) -exec chmod 0640 {} \;

Viel schneller:

| find /path/to/mountpoint -type f \( -name '*.iso' -o -name '*.mp3' \) -print0 | xargs chmod 0640

Obwohl das aber immernoch nicht schön ist, weil es andere Dateien außen 
vor lässt...

  bye, Rocco
-- 
:wq!



Mehr Informationen über die Mailingliste linux-l