Can I change the size unit string?

Can I change the units (e.g., bytes, KB, MB, etc.) in the size column?

I want to change "bytes" to "b". Is this possible?

There isn't currently a way to change those to completely custom strings.

There is only an option to use "KiB" and 1000 vs 1024 based units:
Preferences / Miscellaneous / Advanced / [Information Display] file_size_units

You could create a column (Preferences / File Display Columns / Evaluator Columns) and do the formatting yourself, e.g.:

u1=1024;
if (size<u1) return size + " b";

u2=Pow(1024,2);
if (size<u2) return size/u1 + " KB";

u3=Pow(1024,3);
if (size<u3) return size/u2 + " MB";

u4=Pow(1024,4);
if (size<u4) return size/u3 + " GB";

u5=Pow(1024,5);
if (size<u5) return size/u4 + " TB";

size
XML
<?xml version="1.0"?>
<evalcolumn align="0" attrrefresh="no" autorefresh="no" customgrouping="no" foldertype="all" keyword="size+" maxstars="5" namerefresh="no" reversesort="no" title="size+" type="0">u1=1024;
if (size&lt;u1) return size + &quot; b&quot;;

u2=Pow(1024,2);
if (size&lt;u2) return size/u1 + &quot; KB&quot;;

u3=Pow(1024,3);
if (size&lt;u3) return size/u2 + &quot; MB&quot;;

u4=Pow(1024,4);
if (size&lt;u4) return size/u3 + &quot; GB&quot;;

u5=Pow(1024,5);
if (size&lt;u5) return size/u4 + &quot; TB&quot;;

size</evalcolumn>
3 Likes