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

Speech log filename: Allow date/time variables #4

Open
alisonjo315 opened this issue Apr 27, 2023 · 2 comments
Open

Speech log filename: Allow date/time variables #4

alisonjo315 opened this issue Apr 27, 2023 · 2 comments

Comments

@alisonjo315
Copy link

First of all, thank you for this addon!

I would love to be able to put date/time variables in the log filename. Or, a setting to create a new file each day or session or something -- I'd be fine with even a new file each session, if that's simpler/more doable than allowing date/time variables in the filename.

I'm afraid I don't have a clue how to do this! -- I googled a bit, this seeeeems potentially useful:
https://serverfault.com/questions/16706/current-date-in-the-file-name

In unix, for my bash histories filename, the setting goes like this:

HISTFILE=/home/$USER/.histories/.bash_history-$(date "+%Y%m%d")

If nothing else, hopefully this ^^ example helps clarify what I'm talking about.

Thanks again!

@XLTechie
Copy link
Contributor

XLTechie commented Apr 27, 2023 via email

@XLTechie
Copy link
Contributor

I have tested implementing the feature requested in this issue, and while it can work, I ran into some problems in doing it safely. It is still my intention to make this available.

Regarding my mention above of logging the date and time in the log file: this was done as of version 23.1.0.

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