Hi, 

you might want to use something like 

```
test -d <path> || mkdir -p <path>
```

this does the same but saves one whole network round-trip. In fact, `mkdir -p` already performs an existence test, so you would not really need the test in the first place.