From owner-freebsd-questions Thu Jun 7 19:41:31 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtp010.mail.yahoo.com (smtp010.mail.yahoo.com [216.136.173.30]) by hub.freebsd.org (Postfix) with SMTP id 2DA7037B408 for ; Thu, 7 Jun 2001 19:41:29 -0700 (PDT) (envelope-from mail_box_of_mine@yahoo.com) Received: from unknown (HELO ye) (205.185.57.3) by smtp.mail.vip.sc5.yahoo.com with SMTP; 8 Jun 2001 02:41:28 -0000 X-Apparently-From: Date: Thu, 07 Jun 2001 19:46:59 -0700 From: "mail_box_of_mine@yahoo.com" To: freebsd-questions@freebsd.org Subject: ? change *.cpp to *.c Message-Id: <20010607194434.EEC8.MAIL_BOX_OF_MINE@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.00.06 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG hi, I'm a Unix new learner. I want to change many ".cpp" files to ".c" files. However, when I type "mv *.cpp *.c", it does not work. However, in dos, "ren *.cpp *.c" works. Is there any easy way to do this in Unix without write a shell program? Thanks in advance best regards, steven _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message