From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1G40bY-0007ea-Uz for garchives@archives.gentoo.org; Fri, 21 Jul 2006 19:24:09 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k6LJKc4j015467; Fri, 21 Jul 2006 19:20:38 GMT Received: from alnrmhc11.comcast.net (alnrmhc11.comcast.net [206.18.177.51]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k6LJDELM021639 for ; Fri, 21 Jul 2006 19:13:14 GMT Received: from [192.168.1.40] (c-69-141-3-197.hsd1.pa.comcast.net[69.141.3.197]) by comcast.net (alnrmhc11) with ESMTP id <20060721185814b110092s6be>; Fri, 21 Jul 2006 18:58:14 +0000 Message-ID: <44C123C5.3020105@paulscrap.com> Date: Fri, 21 Jul 2006 14:58:13 -0400 From: PaulNM User-Agent: Thunderbird 1.5.0.4 (X11/20060605) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] A directory name with spaces in it? References: <20060721223445.e73d3227.alex_fortwinder@nerdshack.com> In-Reply-To: <20060721223445.e73d3227.alex_fortwinder@nerdshack.com> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: dfc72e8a-6282-4a81-bc8b-cee89349c3b7 X-Archives-Hash: afb35cbb36a524987e8fd18d260d0c39 Alexander Fortwinder wrote: > Hi everyone, > > I'm downloading a torrent file which created a directory name with spaces, so when I try to access it in bash, > it is reported as not being found. How do I deal with it? For example, /home/This is a some directory > Thanks for suggestions. > Alex > You need to escape the spaces: cd /home/This\ \ is\ a\ \ \ some\ directory Put a \ in front of any special characters. Between This and is there are 2 spaces, so it's \space\space. Auto complete should help out here, just hit tab after the first few letters. If more than one file/directory matches, it'll show you all the matching examples. PaulNM -- gentoo-user@gentoo.org mailing list