steffenfritz / FileTrove

FileTrove indexes files and creates metadata from them.
https://filetrove.fritz.wtf
GNU Affero General Public License v3.0
28 stars 5 forks source link

[CHANGE] Add a Column for File/Directory Hierarchy Level #32

Closed dla-kramski closed 5 months ago

dla-kramski commented 6 months ago

A column for the (relative) hierarchy level of each file/directory recorded seems useful.

The level can also later be determined from the number of path separators. But an explicit, numeric level would be much easier to filter or to evaluate when you are just interested in a certain level of detail.

If, for example, an author always organizes their work like

MyDocuments\Presentations\Berlin\2018-02-On-File-Formats
MyDocuments\Presentations\Online\2021-11-Pixelvetica

it may be sufficient to only look at directories on level 4 to get a first impression of works, without the need to deal with any auxiliary files further down the hierarchy.

steffenfritz commented 5 months ago

Coding on this in the hierarchy_level branch. Working so far, updating admftrove for updating routine.