{"id":117,"date":"2014-11-30T20:11:15","date_gmt":"2014-11-30T19:11:15","guid":{"rendered":"http:\/\/itso.dk\/?p=117"},"modified":"2018-02-08T21:18:47","modified_gmt":"2018-02-08T20:18:47","slug":"where-is-my-diskspace","status":"publish","type":"post","link":"https:\/\/blog.itso.dk\/?p=117","title":{"rendered":"Where is my diskspace?"},"content":{"rendered":"<p>A brand new install of a a operating system on a computer is great. Lots and lots of space, you just keep installing, and then suddenly you are out of disk space.<\/p>\n<p>But where did the diskspace all go?<\/p>\n<p>There are several tools to find out which files fills you valuable space, I will list 1 for Windows, Mac and Linux GUI, and then for *nix command line.<\/p>\n<p>For Windows, you can use WinDirStat found at their official website &#8211; <a href=\"http:\/\/windirstat.info\/\" target=\"_blank\" rel=\"noopener\">Here<\/a><\/p>\n<p>Run the tool, and where your space have gone. If your user rights do not include administrator rights, you will only be able to see your disk usage.<\/p>\n<p>To get the full disk usage, Run as administrator:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"http:\/\/windirstat.info\/images\/windirstat.jpg\" alt=\"\" width=\"378\" height=\"286\" \/><\/p>\n<p>In start menu, type WinDirStat, shift+right click and choose run as administrator.<\/p>\n<p>&nbsp;<\/p>\n<p>For Mac OSX, there is a simular tool called GrandPerspective, found: <a href=\"http:\/\/grandperspectiv.sourceforge.net\/\" target=\"_blank\" rel=\"noopener\">Here<br \/>\n<\/a><\/p>\n<p>For full system view, run with superuser rights,<\/p>\n<pre>sudo GrandPerspective<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"http:\/\/grandperspectiv.sourceforge.net\/ScreenShots\/1_0-FoldersBujumbura.png\" alt=\"\" width=\"720\" height=\"560\" \/><\/p>\n<p>For Linux, the Baobab tools is pretty similar, Official website &#8211; <a href=\"https:\/\/wiki.gnome.org\/Apps\/Baobab\">Here<\/a><\/p>\n<p>For full system view, run with superuser rights,<\/p>\n<pre>sudo baobab\r\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/wiki.gnome.org\/Apps\/Baobab?action=AttachFile&amp;do=get&amp;target=screenshot.png\" alt=\"\" width=\"932\" height=\"618\" \/><\/pre>\n<p>&nbsp;<\/p>\n<p>For *nix comman line, you can allways use the: du command.<\/p>\n<p>sudo du -chx -d 1 \/<\/p>\n<p>For Windows Powershell, where the first &#8220;.&#8221;\u00a0 is the folder\/drive path.<\/p>\n<pre>Get-Item . | Get-ChildItem | Measure-Object -Sum Length | Select-Object `@{Name=\"Path\"; Expression={$directory.FullName}},@{Name=\"Files\"; Expression={$<em>.Count}},@{Name=\"Size\"; Expression={$<\/em>.Sum}}<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A brand new install of a a operating system on a computer is great. Lots and lots of space, you just keep installing, and then suddenly you are out of disk space. But where did the diskspace all go? There are several tools to find out which files fills you valuable space, I will list &#8230;<\/p>\n<p><a href=\"https:\/\/blog.itso.dk\/?p=117\" class=\"more-link\">Continue reading &lsquo;Where is my diskspace?&rsquo; &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":154,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,15,2],"tags":[],"class_list":["post-117","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux-tip","category-mac-osx-tip","category-windows-tip"],"_links":{"self":[{"href":"https:\/\/blog.itso.dk\/index.php?rest_route=\/wp\/v2\/posts\/117","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.itso.dk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.itso.dk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.itso.dk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.itso.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=117"}],"version-history":[{"count":6,"href":"https:\/\/blog.itso.dk\/index.php?rest_route=\/wp\/v2\/posts\/117\/revisions"}],"predecessor-version":[{"id":559,"href":"https:\/\/blog.itso.dk\/index.php?rest_route=\/wp\/v2\/posts\/117\/revisions\/559"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.itso.dk\/index.php?rest_route=\/wp\/v2\/media\/154"}],"wp:attachment":[{"href":"https:\/\/blog.itso.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=117"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.itso.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=117"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.itso.dk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=117"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}