einfach_orangensaft@sh.itjust.works to Programmer Humor@programming.dev · 27 days agoultimate storage hacksh.itjust.worksimagemessage-square47linkfedilinkarrow-up149arrow-down13
arrow-up146arrow-down1imageultimate storage hacksh.itjust.workseinfach_orangensaft@sh.itjust.works to Programmer Humor@programming.dev · 27 days agomessage-square47linkfedilink
minus-squarestochastictrebuchet@sh.itjust.workslinkfedilinkarrow-up1·27 days agoBroke: 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.
minus-squaretetris11@lemmy.mllinkfedilinkarrow-up1·27 days agoeach file is minimum 4kb (base64.length/max_character) * min_filesize < actual_file_size For this to pay off
minus-squareThe Ramen Dutchman@ttrpg.networklinkfedilinkEnglisharrow-up2·24 days ago 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?
minus-squaretetris11@lemmy.mllinkfedilinkarrow-up1·23 days agoOh, I’m thinking folders aren’t I. Doy…
minus-squareThe Ramen Dutchman@ttrpg.networklinkfedilinkEnglisharrow-up1·9 hours agoIt seems those are 4 KiB on Linux, interesting to know.
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
$ 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.
Just use folders instead 😏