Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re: mkdir usage

by LanX (Chancellor)
on Dec 21, 2012 at 02:25 UTC ( #1009832=note: print w/ replies, xml ) Need Help??

in reply to mkdir usage

As a side note:

your condition will also be true on other files than directories, but mkdir will of course fail with a 'File exists' error.

Cheers Rolf

Comment on Re: mkdir usage
Replies are listed 'Best First'.
Re^2: mkdir usage
by skyworld_chen (Acolyte) on Dec 21, 2012 at 02:37 UTC

    I got the idea. Thanks for all of your kind replies.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1009832]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2016-02-12 06:05 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (388 votes), past polls