From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: "Nick S. Grechukh" To: ALT Linux Community Subject: Re: [Comm] Re: How chmod? Date: Wed, 28 Sep 2005 14:52:27 +0300 User-Agent: KMail/1.8.1 References: <433A7F0A.4090907@vzljot.ru> <200509281447.39720.nick.grechukh@bigmir.net> In-Reply-To: <200509281447.39720.nick.grechukh@bigmir.net> X-Face: '2=UjhX-y3vfeO94nyru(, e&{Lf^eJ&15S#rcuk:e{unjSRN4yZ69Z'ePMJsPO"=?utf-8?q?6=5Cs=27iVZ=0A=090OZ?=>_ MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200509281452.28038.nick.grechukh@bigmir.net> X-Virus-Scanned: ClamAV version 0.87, clamav-milter version 0.87 on flash.zp.ukrtel.net X-Virus-Status: Clean X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ALT Linux Community List-Id: ALT Linux Community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Sep 2005 11:53:33 -0000 Archived-At: List-Archive: List-Post: В сообщении от Среда 28 Сентябрь 2005 14:47 Nick S. Grechukh написал(a): > В сообщении от Среда 28 Сентябрь 2005 14:31 Vitaly Ostanin написал(a): > > exec отдельно на каждый файл - долго, xargs всё равно лучше :) > > > > path_to_change=test > > find "$path_to_change" -type d -print0 | xargs -r0 chmod 770 -- > > find "$path_to_change" -type f -print0 | xargs -r0 chmod 660 -- > можно еще что-то типа xargs -r0 -n 100 -N 5 то есть -P 5