1

In RubyMine (and in other JetBrains products, I believe) there are Run/Debug Configurations, for which it is possible to save console output to a file:

Console output filename

Is it possible to add a timestamp to the filename, something like $(date +%Y%m%d-%H%M%S)?

1 Answer 1

1

Sadly this is not possible. This really is meant to be for the console output when developing. While it might be understandable that you would prefer separate output file every time you run your code, it is more common to simply use some kind of logger.

If you would be running your command from commandline/term/cmd/iterm/xterm/shell you could leverage your OS to store the the output to file and even give you the timestamp for the filename.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.