Thanks. That exactly what I needed. It was Sat, 20 Oct 2001 23:44:30 +0200 and I don't really know but somebody said:
> On Sat, Oct 20, 2001 at 05:35:45PM -0400, Rod Person wrote: > > man test(1) tells you how to check for a directory (and lots more BTW) > > mkdir -p might also interest you (see the mkdir man page) > > > I'm creating a bash script and I need to know if a directory exists > and if it doesn't create it. So far the only why I can see to determine > if a directory exists is to try to cd to it and if it doesn't exists > trap the error. Is there a better way or a function that I am missing? > If not how do you trap a error in bash, if at all possible. > > > > Rod > > > > http://storm.prohosting.com/osbeef/osbeef.htm > > > > '....musical rhythms can mess with your head...' > > - T La Rock > > "It's your's" > > > > > > To Unsubscribe: send mail to [EMAIL PROTECTED] > > with "unsubscribe freebsd-hackers" in the body of the message > ---end of quoted text--- > > -- > | / o / /_ _ email: [EMAIL PROTECTED] > |/|/ / / /( (_) Bulte Arnhem, The Netherlands Rod http://storm.prohosting.com/osbeef/osbeef.htm '....musical rhythms can mess with your head...' - T La Rock "It's your's" To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message