From owner-freebsd-questions Fri Mar 5 5: 3:53 1999 Delivered-To: freebsd-questions@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id 84BFA1516F for ; Fri, 5 Mar 1999 05:03:45 -0800 (PST) (envelope-from ben@scientia.demon.co.uk) Received: from scientia.demon.co.uk (ident=ben) by scientia.demon.co.uk with local (Exim 2.12 #12) id 10IfnC-0003P2-00; Thu, 4 Mar 1999 21:36:30 +0000 (envelope-from ben@scientia.demon.co.uk) Date: Thu, 4 Mar 1999 21:36:30 +0000 From: Ben Smithurst To: Keith Anderson Cc: questions@freeBSD.org Subject: Re: omething simple (sorry) Message-ID: <19990304213629.A13061@scientia.demon.co.uk> References: <19990304191114.A11792@scientia.demon.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: <19990304191114.A11792@scientia.demon.co.uk> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I wrote... > for i in *.txt; do mv $i $(basename $i .txt); done smeg. This might work better: for i in *.txt; do mv $i $(basename $i .txt).old; done -- Ben Smithurst ben@scientia.demon.co.uk send a blank message to ben+pgp@scientia.demon.co.uk for PGP key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message