Skip to content

assign a unique identifier to each zettel #35

@icornelius

Description

@icornelius

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions