From owner-freebsd-questions@FreeBSD.ORG Fri Mar 26 11:56:10 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 60ADE106564A for ; Fri, 26 Mar 2010 11:56:10 +0000 (UTC) (envelope-from jarek@miszczak.eu) Received: from mail-ww0-f54.google.com (mail-ww0-f54.google.com [74.125.82.54]) by mx1.freebsd.org (Postfix) with ESMTP id 04CD28FC1A for ; Fri, 26 Mar 2010 11:56:09 +0000 (UTC) Received: by wwb29 with SMTP id 29so788254wwb.13 for ; Fri, 26 Mar 2010 04:56:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.28.74 with HTTP; Fri, 26 Mar 2010 04:24:31 -0700 (PDT) In-Reply-To: <20100326071248.4ec4ea5e@scorpio.seibercom.net> References: <20100326071248.4ec4ea5e@scorpio.seibercom.net> From: Jaroslaw Miszczak Date: Fri, 26 Mar 2010 12:24:31 +0100 Received: by 10.216.164.132 with SMTP id c4mr447176wel.15.1269602691384; Fri, 26 Mar 2010 04:24:51 -0700 (PDT) Message-ID: <9a4b16bb1003260424t2a2e1d77h5b73b10c029355fb@mail.gmail.com> To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: Creating multiple directories simultaneously X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Mar 2010 11:56:10 -0000 Hi, maybe you need mkdirhier dirtest/dir1 dirtest/dir2 dirtest/dir3 Cheers, Jarek Miszczak On Fri, Mar 26, 2010 at 12:12, 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} > and several other variants and they all failed. I could easily write a > simple script to accomplish it; however, I thought I could do it > directly from the command line. > > -- > Jerry > FreeBSD.user@seibercom.net > > Disclaimer: off-list followups get on-list replies or get ignored. > Please do not ignore the Reply-To header. > __________________________________________________________________ > > The only real way to look younger is not to be born so soon. > > > =A0 =A0 =A0 =A0Charles Schulz, "Things I've Had to Learn Over and > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Over and Over" > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" >