Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Mar 2010 11:32:58 +0000
From:      Daniel Bye <freebsd-questions@slightlystrange.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: Creating multiple directories simultaneously
Message-ID:  <20100326113258.GA9957@catflap.slightlystrange.org>
In-Reply-To: <20100326071248.4ec4ea5e@scorpio.seibercom.net>
References:  <20100326071248.4ec4ea5e@scorpio.seibercom.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100326113258.GA9957>