From owner-freebsd-questions@FreeBSD.ORG Fri Mar 26 11:45: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 DDB75106567C for ; Fri, 26 Mar 2010 11:45:00 +0000 (UTC) (envelope-from freebsd.user@seibercom.net) Received: from mail-qy0-f200.google.com (mail-qy0-f200.google.com [209.85.221.200]) by mx1.freebsd.org (Postfix) with ESMTP id 872928FC29 for ; Fri, 26 Mar 2010 11:45:00 +0000 (UTC) Received: by qyk38 with SMTP id 38so1388634qyk.9 for ; Fri, 26 Mar 2010 04:44:59 -0700 (PDT) Received: by 10.229.99.143 with SMTP id u15mr884511qcn.105.1269603899626; Fri, 26 Mar 2010 04:44:59 -0700 (PDT) Received: from scorpio.seibercom.net (c-67-189-160-65.hsd1.ny.comcast.net [67.189.160.65]) by mx.google.com with ESMTPS id 22sm539727qyk.2.2010.03.26.04.44.58 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 26 Mar 2010 04:44:58 -0700 (PDT) Received: from scorpio.seibercom.net (localhost [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: freebsd.user@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 5E73D22841 for ; Fri, 26 Mar 2010 07:44:57 -0400 (EDT) Date: Fri, 26 Mar 2010 07:44:56 -0400 From: Jerry To: freebsd-questions@freebsd.org 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> Organization: seibercom.net X-Mailer: Claws Mail 3.7.5 (GTK+ 2.18.7; i386-portbld-freebsd7.3) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: Creating multiple directories simultaneously X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Mar 2010 11:45:01 -0000 On Fri, 26 Mar 2010 11:32:58 +0000, Daniel Bye 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.