From owner-freebsd-questions@FreeBSD.ORG Mon Mar 7 16:35:54 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A409916A4CF for ; Mon, 7 Mar 2005 16:35:54 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id BAF6943D4C for ; Mon, 7 Mar 2005 16:35:53 +0000 (GMT) (envelope-from phusion2k@gmail.com) Received: by rproxy.gmail.com with SMTP id c16so1169403rne for ; Mon, 07 Mar 2005 08:35:53 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=mki0yt+UVD2bPzGPKCvvSlMlUswqRg3f0SfYR+dkP2myLQ+3toE4tXDFqm96nzrSa9QmQ4+2+ggiBsmRSRQHrn6MxUZwIg8lV8NQcYMxxnhy0iTIRGua0iyi+dyjKJ8z8mhKoeH33Q0UBdermcz2xKbEXunDrS2lTzd+3cRJ1rU= Received: by 10.11.98.9 with SMTP id v9mr335808cwb; Mon, 07 Mar 2005 08:35:53 -0800 (PST) Received: by 10.11.100.40 with HTTP; Mon, 7 Mar 2005 08:35:53 -0800 (PST) Message-ID: Date: Mon, 7 Mar 2005 10:35:53 -0600 From: Phusion To: questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Help Renaming Multple Files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Phusion List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Mar 2005 16:35:54 -0000 I need help figuring out how to rename multple files. The files are named like reports_abcdef_YYYYMMDD.dat, reports_hijklm_YYYYMMDD.dat, and reports_nopqrs_YYYYMMDD.dat. Here is an example. Original Filename: reports_abcdef_YYYYMMDD.dat New Filename: abcdef_YYYYMMDD.dat Let me know how I can do this. Thanks.