Skip to content

Terminal output of zimport #41

@icornelius

Description

@icornelius

zimport reports progress ("Processing FILENAME...") and errors (unexpected keys, invalid YAML). This behavior is appropriate for small collections of zetteln. When importing large collections (hundreds of files), the progress report drowns out the error messages.

A possible solution is to count the files in the directory tree targeted for import, then reduce the verbosity of zimport above a certain threshold (100 files, perhaps). Some sort of progress reporting remains desirable, as importing a collection of 1000+ files can take 15 seconds, depending on system. Perhaps we could set a counter and emit progress at milestones (every 100th file, e.g.). Or write errors to a log file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions