← back

Filesystem Tagging

by Alex Lance

1248 words, tech, ©2025-12-07

I wanted a simple and portable way to tag my old digital photo albums. No magic database files, opaque storage formats, or loose index files floating around. A tagging solution that could be backed up with my normal rsync processes and had widespread support.

It turns out that most modern filesystems support something called extended attributes (xattrs). And that you can use these to stick interesting metadata onto a file. In my case, arbitrary tags. Join me as I take you into the exciting nightmare that has been me categorizing 23 years of photos. I’m not a hoarder, you’re a hoarder.

Let’s jump in with a code example. There are two main commands that I’ve found: **getf…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help