38 characters:
$_="$tftpdir/$archive";-d||mkdir$_,755Or if you can assume that the user has a decent umask value set, we're down to 34:
$_="$tftpdir/$archive";-d||mkdir$_Oh, sorry, I must be in the wrong place, could anyone direct me to the green?
In reply to Re: mkdir unless dir already exists.
by mugwumpjism
in thread mkdir unless dir already exists.
by c
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |