Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom output directory, create sub directories? #12

Closed
branflake2267 opened this issue Mar 18, 2013 · 1 comment
Closed

Custom output directory, create sub directories? #12

branflake2267 opened this issue Mar 18, 2013 · 1 comment

Comments

@branflake2267
Copy link

Do you expect the output directory to exist or could you create the output directory when specified if it does not exist?

For instance:
mkdir -p target/guider

@nene
Copy link
Owner

nene commented Mar 18, 2013

The output dir gets created if it doesn't exist. But if the parent of output dir doesn't exist, this will fail. That's normal behavior of most unix programs - and it's quite useful when you make a mistake when writing out a long pathname, then instead of having it silently create a slew of nested dirs, it fails instead.

So that's by design. I could improve the error message. But not going to change the general behavior. You can always combine the guider command with mkdir if you need this type of functionality.

@nene nene closed this as completed Mar 18, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants