ZettelGeist / zettelgeist

A less-is-more (distributed) notetaking application. Designed specifically for those who prefer working with the command line and want to do crazy indexing, analysis, and transformation of notes. Aimed at but not limited to scholarly research projects.
Apache License 2.0
30 stars 5 forks source link

assign a unique identifier to each zettel #35

Open icornelius opened 2 years ago

icornelius commented 2 years ago

Currently zetteln have no unique identifier other than their path. Zetteln created with --name timestamp have a unique numerical string in the filename (because timestamp is printed in the format YYYYMMDDHHMMSS) and this string can be called with zfind, providing queries guaranteed to return a single file. But filenames lacking the 14-digit timestamp can be more difficult to call uniquely with zfind queries.

Publication workflows and cross-references between notes would be easier if zettel were configured to generate a uuid for each new document and write the uuid to the metadata block. Ideally, there would also be an option to retroactively add uuids to documents lacking them.

icornelius commented 4 months ago

timestamp is adequate, for now. The main drawback is the length of the character string.