ultimate storage hack - sh.itjust.works

Lemmy

Broke: file names have a max character length.

Woke: split b64-encoded data into numbered parts and add .part-1…n suffix to each file name.

each file is minimum 4kb

(base64.length/max_character) * min_filesize < actual_file_size

For this to pay off

each file is minimum 4kb

$ touch empty_file $ ls -l total 8 -rw-rw-r-- 1 user group 0 may 14 20:13 empty_file $ wc -c empty_file 0 empty_file

Huh?

Oh, I’m thinking folders aren’t I. Doy…
It seems those are 4 KiB on Linux, interesting to know.