On Fri, Jul 13, 2001 at 05:33:32PM +0800, Federico Sevilla III wrote:
> Quoting Chris G Haravata <[EMAIL PROTECTED]>:
> > the file looks like the ff:
> >
> > /home/2000/abc-123455
> > /home/1995/def-678901
> > /home/2001/ghi-234567
> > <etc until 1125 lines later>
>
> for i in `cat /some/file`; do mkdir "$i"; done;
Just so this doesn't bark out with "No such file or directory"
errors (in cases where the 2nd-level directory doesn't exist),
insert -p between mkdir and "$i"...
--
.--. Michael J. Maravillo office://+63.2.894.3592/
( () ) Q Linux Solutions, Inc. mobile://+63.917.897.0919/
`--\\ A Philippine Open Source Solutions Co. http://www.q-linux.com/
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
To subscribe to the Linux Newbies' List: send "subscribe" in the body to
[EMAIL PROTECTED]