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>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
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.
>
> 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}
--
Daniel Bye
_
ASCII ribbon campaign ( )
- against HTML, vCards and X
- proprietary attachments in e-mail / \
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)
iEYEARECAAYFAkusm2oACgkQixf5fBYiFmqDmgCdGO9ZuSoKI/TcP65C93eUPPjT
GpQAoIbOOX8jcUlEQSm+iIxNGb/lMoL2
=oMgp
-----END PGP SIGNATURE-----
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100326113258.GA9957>
