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

Linux

6903 readers
249 users here now

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

Also check out:

Original icon base courtesy of [email protected] 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
[–] [email protected] 6 points 1 week ago (4 children)

I had a similar problem and I solved it through a tagging tool, tmsu The tool works through the terminal but it has a virtual file system, so you can access your files from a GUI file manager. I recommend you to check it out, it might solve your problem.

[–] [email protected] 3 points 1 week ago* (last edited 1 week ago) (3 children)

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

[–] [email protected] 5 points 1 week ago (1 children)

I hope it works for you!

In the worst hypothesis, if tmsu doesn't work for your needs, then @[email protected]'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".

[–] [email protected] 2 points 1 week ago

That's smart, thx

load more comments (1 replies)
load more comments (1 replies)