[{"data":1,"prerenderedAt":122},["ShallowReactive",2],{"blog-post-eza-show-file-sizes":3,"recent-posts":77},{"id":4,"uid":5,"url":6,"type":7,"href":8,"tags":9,"first_publication_date":10,"last_publication_date":10,"slugs":11,"linked_documents":13,"lang":14,"alternate_languages":15,"data":16},"awViKBIAACgAHCq8","eza-show-file-sizes",null,"blog_posts","https:\u002F\u002Fmarks-personal-website.cdn.prismic.io\u002Fapi\u002Fv2\u002Fdocuments\u002Fsearch?ref=axCfhxMAACkA1kxo&q=%5B%5B%3Ad+%3D+at%28document.id%2C+%22awViKBIAACgAHCq8%22%29+%5D%5D",[],"2026-12-02T22:45:26+0000",[12],"eza-how-to-show-file-sizes",[],"en-us",[],{"title":17,"date":23,"description":24,"image":29,"content":39},[18],{"type":19,"text":20,"spans":21,"direction":22},"heading1","eza: How to Show File Sizes",[],"ltr","2026-12-02",[25],{"type":26,"text":27,"spans":28,"direction":22},"heading2","Learn how to display, format, sort, and calculate folder sizes with eza.",[],{"dimensions":30,"alt":20,"copyright":6,"url":33,"id":34,"edit":35},{"width":31,"height":32},1280,720,"https:\u002F\u002Fimages.prismic.io\u002Fmarks-personal-website\u002FUpKz_y1Rt8NcxxKd_eza-show-file-sizes.png?auto=format,compress","UpKz_y1Rt8NcxxKd",{"x":36,"y":36,"zoom":37,"background":38},0,1,"transparent",[40,44,48,52,55,58,61,64,67,70,74],{"type":41,"text":42,"spans":43,"direction":22},"paragraph","Before we start, make sure you have \u003Ccode>eza\u003C\u002Fcode> installed on your Mac. If you need it, install it with Homebrew:",[],{"type":45,"text":46,"spans":47,"direction":22},"preformatted","brew install eza",[],{"type":49,"text":50,"spans":51,"direction":22},"heading3","Show Human-Readable File Sizes",[],{"type":41,"text":53,"spans":54,"direction":22},"Open your terminal, navigate to your folder, and run \u003Ccode>eza\u003C\u002Fcode> with the \u003Ccode>-l\u003C\u002Fcode> flag. Unlike \u003Ccode>ls\u003C\u002Fcode>, \u003Ccode>eza\u003C\u002Fcode> already displays human-readable decimal sizes (\u003Ccode>k\u003C\u002Fcode>, \u003Ccode>M\u003C\u002Fcode>, \u003Ccode>G\u003C\u002Fcode>) by default, while \u003Ccode>-h\u003C\u002Fcode> adds column headers at the top of the table:",[],{"type":45,"text":56,"spans":57,"direction":22},"eza -lh",[],{"type":49,"text":59,"spans":60,"direction":22},"Change Size Units and Sort",[],{"type":41,"text":62,"spans":63,"direction":22},"All size formatting flags pair with \u003Ccode>-l\u003C\u002Fcode>. Use \u003Ccode>-lb\u003C\u002Fcode> for binary prefixes (\u003Ccode>Ki\u003C\u002Fcode>, \u003Ccode>Mi\u003C\u002Fcode>, \u003Ccode>Gi\u003C\u002Fcode> in powers of \u003Ccode>1024\u003C\u002Fcode>), \u003Ccode>-lB\u003C\u002Fcode> for exact byte counts, or \u003Ccode>-lS\u003C\u002Fcode> to include the actual disk block size allocated on your filesystem. To put the largest files at the top, combine \u003Ccode>--sort=size\u003C\u002Fcode> with \u003Ccode>--reverse\u003C\u002Fcode>:",[],{"type":45,"text":65,"spans":66,"direction":22},"eza -l --sort=size --reverse",[],{"type":41,"text":68,"spans":69,"direction":22},"You can also add \u003Ccode>--color-scale=size\u003C\u002Fcode> to shade file sizes along a color gradient so huge files stand out immediately.",[],{"type":71,"oembed":72},"embed",{"embed_url":73,"type":71},"",{"type":41,"text":75,"spans":76,"direction":22},"By default, directories show \u003Ccode>-\u003C\u002Fcode> in the size column. On macOS and Linux, add \u003Ccode>--total-size\u003C\u002Fcode> (like \u003Ccode>eza -lh --total-size\u003C\u002Fcode>) to recursively calculate and display the total size of every folder.",[],{"results":78,"page":37,"results_per_page":120,"results_size":120,"total_results_size":121,"total_pages":37},[79,81,101],{"id":4,"uid":5,"url":6,"type":7,"href":8,"tags":9,"first_publication_date":10,"last_publication_date":10,"slugs":11,"linked_documents":13,"lang":14,"alternate_languages":15,"data":80},{"image":29,"title":17},{"id":82,"uid":83,"url":6,"type":7,"href":84,"tags":85,"first_publication_date":10,"last_publication_date":10,"slugs":86,"linked_documents":88,"lang":14,"alternate_languages":89,"data":90},"awViIhIAAC0AHCqe","eza-install-mac","https:\u002F\u002Fmarks-personal-website.cdn.prismic.io\u002Fapi\u002Fv2\u002Fdocuments\u002Fsearch?ref=axCfhxMAACkA1kxo&q=%5B%5B%3Ad+%3D+at%28document.id%2C+%22awViIhIAAC0AHCqe%22%29+%5D%5D",[],[87],"how-to-install-eza-on-macos-27",[],[],{"image":91,"title":97},{"dimensions":92,"alt":93,"copyright":6,"url":94,"id":95,"edit":96},{"width":31,"height":32},"eza: How to Install eza on Mac","https:\u002F\u002Fimages.prismic.io\u002Fmarks-personal-website\u002FNBBJX1Ht34d3UJ5R_eza-install-mac.png?auto=format,compress","NBBJX1Ht34d3UJ5R",{"x":36,"y":36,"zoom":37,"background":38},[98],{"type":19,"text":99,"spans":100,"direction":22},"How to Install eza on macOS 27",[],{"id":102,"uid":103,"url":6,"type":7,"href":104,"tags":105,"first_publication_date":10,"last_publication_date":10,"slugs":106,"linked_documents":108,"lang":14,"alternate_languages":109,"data":110},"awViKxIAAC0AHCrL","eza-show-git-status","https:\u002F\u002Fmarks-personal-website.cdn.prismic.io\u002Fapi\u002Fv2\u002Fdocuments\u002Fsearch?ref=axCfhxMAACkA1kxo&q=%5B%5B%3Ad+%3D+at%28document.id%2C+%22awViKxIAAC0AHCrL%22%29+%5D%5D",[],[107],"eza-how-to-show-git-status",[],[],{"image":111,"title":117},{"dimensions":112,"alt":113,"copyright":6,"url":114,"id":115,"edit":116},{"width":31,"height":32},"eza: How to Show Git Status","https:\u002F\u002Fimages.prismic.io\u002Fmarks-personal-website\u002FfpEwsos0S0CTuwSN_eza-show-git-status.png?auto=format,compress","fpEwsos0S0CTuwSN",{"x":36,"y":36,"zoom":37,"background":38},[118],{"type":19,"text":113,"spans":119,"direction":22},[],3,118,1796251550573]