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:
- A file must have its Item identifier in the filename.
- In a way that is clearly and unmistakingly parsable (eg ItemID as beginning of filename)
- Use RegEx to extract the ItemID from a filename pattern
- 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:
- Create a folder in TODO with the ItemID
- Move the file to that folder.
- file-to-folder "boot" process finished: continue with regular CInbox processing.
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:
ITEM_ID_VALIDin the cinbox.iniOnce a file is found, the following steps are done: