From owner-freebsd-questions@FreeBSD.ORG Fri Mar 26 11:33:00 2010 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 63445106564A for ; Fri, 26 Mar 2010 11:33:00 +0000 (UTC) (envelope-from dan@slightlystrange.org) Received: from catflap.slightlystrange.org (cpc2-cmbg1-0-0-cust385.cmbg.cable.ntl.com [82.21.105.130]) by mx1.freebsd.org (Postfix) with ESMTP id 1444B8FC13 for ; Fri, 26 Mar 2010 11:32:59 +0000 (UTC) Received: from dan by catflap.slightlystrange.org with local (Exim 4.71 (FreeBSD)) (envelope-from ) id 1Nv7mc-000P2x-QU for freebsd-questions@freebsd.org; Fri, 26 Mar 2010 11:32:58 +0000 Date: Fri, 26 Mar 2010 11:32:58 +0000 From: Daniel Bye To: freebsd-questions@freebsd.org Message-ID: <20100326113258.GA9957@catflap.slightlystrange.org> Mail-Followup-To: freebsd-questions@freebsd.org References: <20100326071248.4ec4ea5e@scorpio.seibercom.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6c2NcOVqGQ03X4Wi" Content-Disposition: inline In-Reply-To: <20100326071248.4ec4ea5e@scorpio.seibercom.net> User-Agent: Mutt/1.4.2.3i X-PGP-Fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A X-Operating-System: FreeBSD 8.0-STABLE amd64 Sender: Daniel Bye Subject: Re: Creating multiple directories simultaneously X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Bye List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Mar 2010 11:33:00 -0000 --6c2NcOVqGQ03X4Wi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 26, 2010 at 07:12:48AM -0400, Jerry wrote: > I could have sworn that I saw a method of creating several directories, > actually a parent direct and several sub-directories simultaneously; > however, I cannot fine the documentation any longer. >=20 > Assume I want to create a directory: FOO with three directories under > it, foo-1, foo-2 and foo-3. I tried: mkdir -p foo {foo-1, foo-2, foo-3} Almost. $ mkdir -p FOO/{foo-1,foo-2,foo-3} --=20 Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ --6c2NcOVqGQ03X4Wi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkusm2oACgkQixf5fBYiFmqDmgCdGO9ZuSoKI/TcP65C93eUPPjT GpQAoIbOOX8jcUlEQSm+iIxNGb/lMoL2 =oMgp -----END PGP SIGNATURE----- --6c2NcOVqGQ03X4Wi--