Date: Fri, 26 Mar 2010 07:44:56 -0400 From: Jerry <freebsd.user@seibercom.net> To: freebsd-questions@freebsd.org Subject: Re: Creating multiple directories simultaneously Message-ID: <20100326074456.7139c3da@scorpio.seibercom.net> In-Reply-To: <20100326113258.GA9957@catflap.slightlystrange.org> References: <20100326071248.4ec4ea5e@scorpio.seibercom.net> <20100326113258.GA9957@catflap.slightlystrange.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 26 Mar 2010 11:32:58 +0000, Daniel Bye <freebsd-questions@slightlystrange.org> articulated: > 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} Thank you; that is exactly what I was looking for. I knew I had seen it somewhere before. -- Jerry FreeBSD.user@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ Blessed are the meek for they shall inhibit the earth.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100326074456.7139c3da>