From owner-freebsd-questions@FreeBSD.ORG Tue Aug 31 15:15:26 2004 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 2FAB116A59F for ; Tue, 31 Aug 2004 15:15:26 +0000 (GMT) Received: from sccrmhc13.comcast.net (sccrmhc13.comcast.net [204.127.202.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id CAE2E43D46 for ; Tue, 31 Aug 2004 15:15:09 +0000 (GMT) (envelope-from fbsd-questions@trini0.org) Received: from hivemind.trini0.org (trini0.org[65.34.205.195]) by comcast.net (sccrmhc13) with ESMTP id <2004083115150601600i8ushe>; Tue, 31 Aug 2004 15:15:09 +0000 Received: from [192.168.0.3] (gladiator.trini0.org [192.168.0.3]) by hivemind.trini0.org (Postfix) with ESMTP id 83D9D1A3 for ; Tue, 31 Aug 2004 11:15:05 -0400 (EDT) Message-ID: <413495FD.10700@trini0.org> Date: Tue, 31 Aug 2004 11:15:09 -0400 From: Gerard Samuel User-Agent: Mozilla Thunderbird 0.7.3 (X11/20040812) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsdquestions Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Renaming files using find X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Aug 2004 15:15:26 -0000 Im trying to rename a few files with the .dist extension. Im trying -> hivemind# find . -name '*.dist' -exec cp {} `basename {} .dist` \; And Im getting -> cp: ./html.php.dist and ./html.php.dist are identical (not copied). cp: ./horde.php.dist and ./horde.php.dist are identical (not copied). cp: ./motd.php.dist and ./motd.php.dist are identical (not copied). cp: ./mime_mapping.php.dist and ./mime_mapping.php.dist are identical (not copied). cp: ./prefs.php.dist and ./prefs.php.dist are identical (not copied). cp: ./registry.php.dist and ./registry.php.dist are identical (not copied). cp: ./lang.php.dist and ./lang.php.dist are identical (not copied). cp: ./mime_drivers.php.dist and ./mime_drivers.php.dist are identical (not copied). What is wrong with the command that I issued. Thanks