From owner-freebsd-newbies Fri May 19 6:34:48 2000 Delivered-To: freebsd-newbies@freebsd.org Received: from cx344940-a.meta1.la.home.com (cx344940-a.meta1.la.home.com [24.6.21.74]) by hub.freebsd.org (Postfix) with ESMTP id A6DCC37BA81 for ; Fri, 19 May 2000 06:34:45 -0700 (PDT) (envelope-from conrads@cx344940-a.meta1.la.home.com) Received: (from conrads@localhost) by cx344940-a.meta1.la.home.com (8.9.3/8.9.3) id IAA43007; Fri, 19 May 2000 08:34:40 -0500 (CDT) (envelope-from conrads) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Fri, 19 May 2000 08:34:40 -0500 (CDT) Organization: @Home Network From: Conrad Sabatier To: Ryan.Gamo@sce.com Subject: RE: renaming batch Cc: freebsd-newbies@FreeBSD.ORG Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 18-May-00 Ryan.Gamo@sce.com wrote: > I want to rename a bunch of files in a directory. I want them to retain > their current name but put a .txt at the end for ID purposes. How would I > go about doing this? > > mv ./* ./*.txt ???? doesn't work for f in * do mv $f $f.txt done -- Conrad Sabatier http://members.home.net/conrads/ ICQ# 1147270 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message