From owner-freebsd-questions@FreeBSD.ORG Thu Sep 4 03:48:34 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E8F2F1065672 for ; Thu, 4 Sep 2008 03:48:34 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: from mail5out.barnet.com.au (mail5.barnet.com.au [202.83.178.78]) by mx1.freebsd.org (Postfix) with ESMTP id A711F8FC19 for ; Thu, 4 Sep 2008 03:48:34 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: by mail5out.barnet.com.au (Postfix, from userid 1001) id D57932218A62; Thu, 4 Sep 2008 13:48:32 +1000 (EST) X-Viruscan-Id: <48BF5A9000016F5725CA5C@BarNet> Received: from mail5auth.barnet.com.au (mail5.barnet.com.au [202.83.178.78]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail5auth.barnet.com.au", Issuer "*.barnet.com.au" (verified OK)) by mail5.barnet.com.au (Postfix) with ESMTP id 7D8F521B52E8; Thu, 4 Sep 2008 13:48:32 +1000 (EST) Received: from k7.mavetju (ppp121-44-29-52.lns10.syd7.internode.on.net [121.44.29.52]) by mail5auth.barnet.com.au (Postfix) with ESMTP id 3780E2218A76; Thu, 4 Sep 2008 13:48:32 +1000 (EST) Received: by k7.mavetju (Postfix, from userid 1001) id 8C4EB27D; Thu, 4 Sep 2008 13:48:33 +1000 (EST) Date: Thu, 4 Sep 2008 13:48:33 +1000 From: Edwin Groothuis To: freebsd-questions@FreeBSD.org Message-ID: <20080904034833.GA25655@k7.mavetju> Mail-Followup-To: Edwin Groothuis , freebsd-questions@FreeBSD.org, Noah Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48BF3F0F.6030606@enabled.com> User-Agent: Mutt/1.4.2.3i Cc: Noah Subject: cd and rm a directory with '^M' X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Sep 2008 03:48:35 -0000 > I had rsync create a directory with a '^M' in it. Use command-line completion: [~/xx] edwin@k7>touch foo^Mbar # that's ^V^M [~/xx] edwin@k7>ls -l total 0 -rw-r--r-- 1 edwin edwin 0 Sep 4 13:46 foo?bar [~/xx] edwin@k7>rm foo # autocompletes to foo^Mbar -- Edwin Groothuis | Personal website: http://www.mavetju.org edwin@mavetju.org | Weblog: http://www.mavetju.org/weblog/