this post was submitted on 29 Mar 2025
17 points (100.0% liked)

Linux

6803 readers
127 users here now

A community for everything relating to the GNU/Linux operating system

Also check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 2 years ago
MODERATORS
 

I have separate directories for uni courses, which are grouped in semester directory. I also TA some classes, which is stored in separate folder named 'TA'. That is, it is grouped like this:

University
| - ...
| - 2024.2
| | - Lie algebra
| | - Operator algebra
| - 2025.1
| | - Mathematical Algorithms
| | - Diophantine equations
| - TA
| | - ...
| | - 2024.2
| | - 2025.1

Oftentimes, I focus on the current semester, so I want to view courses on a same semester grouped together. On other times, I want to group TA activities across semesters together to . I may also do the same with grouping similar subjects.

Basically, I want to view directories with different grouping for each use case, as in the title. I hope this makes sense.. Is there any kind of directory structure or application-based solutions for this cases?

EDIT: I want both GUI and TUI solution for browsing files like this, it's great if linux filesystem supports this natively but fine if it doesn't. Database with redirection capability would be even better.

Thanks in advance!

you are viewing a single comment's thread
view the rest of the comments
[–] someacnt@sh.itjust.works 3 points 4 days ago* (last edited 4 days ago) (2 children)

Thanks a lot, this seems exactly the thing I want!

[–] lvxferre@mander.xyz 5 points 4 days ago (1 children)

I hope it works for you!

In the worst hypothesis, if tmsu doesn't work for your needs, then @deegeese@sopuli.xyz's idea (parallel directory tree with symlinks) sounds solid. Or even flattening the directory tree that you already use, like:

University
| - ...
| - 2024.2 Lie algebra
| - 2024.2 Operator algebra
| - 2024.2 TA activities
| - 2025.1 Mathematical Algorithms
| - 2025.1 Diophantine equations
| - 2025.1 TA activities

This way if you want to find e.g. all dirs with TA, you just Ctrl+F "TA activities" and it'll show you both "./2024.2 TA activities" and "./2025.1 TA activities".

[–] enemenemu@lemm.ee 2 points 4 days ago

That's smart, thx

[–] sxan@midwest.social 2 points 3 days ago

I can second tsmu. However, it does require some thoughtful use.

I usually compare it to GMail, which was the pioneer of eliminating folders. notmuch also does a good job here. tmsu isn't quite as effortless - granted, it has a harder job in having to support multiple file types, not all of which are automatically indexable - but for tmsu to be effective I find I have to make extra (non-trivial) effort to manually tag files. Rather than, say, gmail and notmuch, where I only care about tags when I'm searching. buku is similar, although it's somewhere in between; you can get by without manually tagging, but it isn't perfect, and manually tagging is still better and isn't a much extra work.