Together with the other information in this thread that mkdir is in fact atomic this will do.
In reply to Re^2: Safely create new directory
by elTriberium
in thread Safely create new directory
by elTriberium
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |