{"id":506,"date":"2008-10-30T11:21:59","date_gmt":"2008-10-30T16:21:59","guid":{"rendered":"http:\/\/blog.codedread.com\/archives\/2008\/10\/30\/whos-got-my-disk-space\/"},"modified":"2008-10-30T11:21:59","modified_gmt":"2008-10-30T16:21:59","slug":"whos-got-my-disk-space","status":"publish","type":"post","link":"https:\/\/www.codedread.com\/blog\/archives\/2008\/10\/30\/whos-got-my-disk-space\/","title":{"rendered":"Who&#8217;s got my Disk Space"},"content":{"rendered":"<p><object type=\"image\/svg+xml\" width=\"100\" height=\"100\" align=\"right\" hspace=\"10\" data=\"http:\/\/codedread.com\/clipart\/tools.svgz\"><span\/><\/object>I've been struggling with disk space in Windows the last little while, having worked on a variety of different projects and installed lots of software over the course of a year.  <!--more--><\/p>\n<p>Of course one easy way to free yourself is to use the Control Panel to remove programs you no longer use.  For instance, Adobe Acrobat 8.0 takes up 1.1GB on my hard drive thanks to my employer, and I've <em>never<\/em> even used it.<\/p>\n<p>Another way is to figure out where all your disk space is being eaten up at the file-level.  Using cygwin, the following command is what I've used - feel free to share your more sophisticated versions below.<\/p>\n<p><code><\/p>\n<p>$ cd \/cygdrive\/c\/<\/p>\n<p>$ du -k . 2&#62;\/dev\/null &#124; sort -nr &#62; diskalloc.txt<\/p>\n<p><\/code><\/p>\n<p>Let it run for minutes\/hours then check out c:\\diskalloc.txt.  It will show you the worst offenders first.  I was surprised to find out that I had 1GB in my \"Local Settings\/Temp\".  Also I had forgotten that I had built Inkscape months ago and just left the object files lying around.  That's another 1GB of wasted disk space.<\/p>\n<p>Just be careful not to delete anything you think Windows might need to function!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been struggling with disk space in Windows the last little while, having worked on a variety of different projects and installed lots of software over the course of a year.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[40,25,11],"tags":[75,77,193,133,187],"class_list":["post-506","post","type-post","status-publish","format-standard","hentry","category-linux","category-software","category-technology","tag-cygwin","tag-disk","tag-linux","tag-script","tag-windows"],"_links":{"self":[{"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/posts\/506","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/comments?post=506"}],"version-history":[{"count":0,"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/posts\/506\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/media?parent=506"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/categories?post=506"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/tags?post=506"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}