From owner-freebsd-questions Sat Aug 29 18:18:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA23090 for freebsd-questions-outgoing; Sat, 29 Aug 1998 18:18:27 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from hyperhost.net ([207.159.132.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA23082 for ; Sat, 29 Aug 1998 18:18:25 -0700 (PDT) (envelope-from patseal@hyperhost.net) Received: from local (port10.annex4.radix.net [209.48.225.138]) by hyperhost.net (8.8.5/8.8.5) with SMTP id VAA11728 for ; Sat, 29 Aug 1998 21:17:31 -0400 (EDT) From: "Patrick Seal" To: "FBSDQ" Subject: Renaming multiple files Date: Sat, 29 Aug 1998 21:16:46 -0400 Message-ID: <000001bdd3b3$db1d9e40$0100a8c0@local.hyperhost.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2377.0 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Let's say I have two files in two different directories. /foo/bar.aaa /bar/foo.aaa I want to rename the extensions to: /foo/bar.bbb /bar/foo.bbb Can someone give point me to some sort of shell or perl script, or possibly just a command that can let me do this simultaneously? Thanks, Patrick Seal patseal@hyperhost.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message