From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Injected-Via-Gmane: http://gmane.org/ To: community@lists.altlinux.org From: Denis Kirienko Date: Sat, 14 Oct 2006 09:06:16 +0400 Message-ID: References: <20061013203122.3e96df7c@greg> <452FD641.8000109@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: ppp83-237-127-213.pppoe.mtu-net.ru User-Agent: Thunderbird 1.5.0.5 (X11/20060822) In-Reply-To: <452FD641.8000109@gmail.com> Sender: news Subject: Re: [Comm] =?koi8-r?b?08vSydDUIM7BIGJhc2ggKHByb2JsZW0p?= X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.9rc1 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: Sat, 14 Oct 2006 05:06:28 -0000 Archived-At: List-Archive: List-Post: Pavel Usischev пишет: > rename ' ' _ ~/www/testsed/* О как! А я и не знал... А то мне часто приходится в одном каталоге из набора файлов 1 2 3 4 5 6 8 9 10 11 12 13 14 15 ... делать набор 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 ... Раньше я делал: $ for f in ? ; do mv $f 0$f ; done а оказывается можно $ rename '' 0 ? Спасибо! -- Денис