Date: Fri, 26 Mar 2010 07:12:48 -0400 From: Jerry <freebsd.user@seibercom.net> To: freebsd-questions@freebsd.org Subject: Creating multiple directories simultaneously Message-ID: <20100326071248.4ec4ea5e@scorpio.seibercom.net>
index | next in thread | raw e-mail
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.
Charles Schulz, "Things I've Had to Learn Over and
Over and Over"
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100326071248.4ec4ea5e>
