From owner-freebsd-newbies Mon May 22 6:31:51 2000 Delivered-To: freebsd-newbies@freebsd.org Received: from hotmail.com (f178.law9.hotmail.com [64.4.9.178]) by hub.freebsd.org (Postfix) with SMTP id 7BB1237B7A3 for ; Mon, 22 May 2000 06:31:38 -0700 (PDT) (envelope-from midios3@hotmail.com) Received: (qmail 95846 invoked by uid 0); 22 May 2000 13:31:31 -0000 Message-ID: <20000522133131.95845.qmail@hotmail.com> Received: from 195.66.101.73 by www.hotmail.com with HTTP; Mon, 22 May 2000 06:31:31 PDT X-Originating-IP: [195.66.101.73] From: "Dimitrios T." To: freebsd-newbies@FreeBSD.org Subject: batch; the other way around Date: Mon, 22 May 2000 13:31:31 GMT Mime-Version: 1.0 Content-Type: text/plain; format=flowed Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org hi, I like to follow the posts of this mailing-list, I think it's yet another way of learning FreeBSD. I liked the following solution of adding a 'txt' "extension" (pardon my DOS :-) after a listing of files: for f in * do mv $f $f.txt done Usefull, indeed. But how can one remove the 'txt' from those files (renaming them back to the original filename). Is this possible? Greetings, Dimitri ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message