-
-
Notifications
You must be signed in to change notification settings - Fork 519
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
Every entry should have a unique hash or identifier #519
Comments
If you use the DayOne backend format, each entry will automatically be given an unique identifier. |
@MinchinWeb How can I do that? If you mean using DayOne Journal itself, then I don't use it. |
Open your jrnl configuration file, and add a new entry under "journals". Your new journal should point to an empty folder. Then go to your new journal folder, and create two subfolders: "entries" and "photos". Now to use your new journal, you'll include the journal's name in any jrnl commands. Ex. To get a listing of entries More details on the configuration file --> http://jrnl.sh/advanced.html#configuration-file |
@msaharia If you want to continue using the standard journal format, my suggestion would be:
Once you find your post in the journal file, simply add on to it, save, and exit. |
@stelabr Thanks! I am aware of these methods, and that is my current workflow. But I think a unique identifier becomes increasingly necessary as the journal gets longer and longer. |
@msaharia Hey there! Sorry to revive a closed issue, but I am also starting to get a lot more jrnl entries and I was wondering what your workflow is with editing older entries with the dayone identifier. I think I'm missing something. Thanks! |
@stelabr Unfortunately, I don't use day-one as well. The unique identifier is an absolute necessity of a journal such as this, in my opinion. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I still think having a unique identifier will be a killer feature. |
I've found the full timestamp to be unique enough for my needs.
will let me edit exactly one entry. I get the timestamp by composing with other tools:
If you have only one journal file, these are trivial to put together into a single shell function. If you have more than one journal file, then you may need some argument parsing to select which journal. In the simplest form, you'll get something like this:
I'm planning on putting a couple fzf integrations into the recipes this weekend, but that could get you started. |
@msaharia I think this could be pretty useful. Would you mind elaborating on some of the use cases that you see for this feature? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This seems like a great feature for a lot of reasons, such as #949. The question is how best to implement it while preserving compatibility and reliability. |
I would like to edit a particular entry at a later date.
Right now, I have to narrow down using
jrnl @tag -n 1
, for example.The text was updated successfully, but these errors were encountered: