Skip to content

Wishlist: Add new feature to 'boot' an item folder from textfiles. #83

Description

@pjotrek-b

Current design on the CInbox is to require one-folder-per-item.
This works great, and makes it clear what things/subfolders/files belong to which item, but in some cases it would be desirable to start the CInbox with a file, instead of a folder.

Here's some design ideas/notes:

  1. A file must have its Item identifier in the filename.
  2. In a way that is clearly and unmistakingly parsable (eg ItemID as beginning of filename)
  3. Use RegEx to extract the ItemID from a filename pattern
  4. In the loop which usually iterates through the items-todo-folder, check for files present that match the RegEx given in ITEM_ID_VALID in the cinbox.ini

Once a file is found, the following steps are done:

  1. Create a folder in TODO with the ItemID
  2. Move the file to that folder.
  3. file-to-folder "boot" process finished: continue with regular CInbox processing.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions