umtaya.blogg.se

Daisydisk read only
Daisydisk read only











daisydisk read only
  1. #DAISYDISK READ ONLY CODE#
  2. #DAISYDISK READ ONLY FREE#

So what makes DaisyDisk special versus (say) the free "Grand Perspective" application for OSX? Slick interface for one (I do like the examine file and drag to collect/delete feature), but also I think GP does examine the files while it scans since it shows everything in its graphical view and colors by file type. There doesn't really appear to be anything special here except that it only needs to examine the file type or content when the user specifically asks for it and the program avoids doing that heavy work most of the time. So what we're probably seeing is that it quickly determined the name, path and size of every file on the drive (as du can demonstrate), but cleverly only showing the top offenders to help you get to what you're interested in since most people won't use a tool like this to get the nit-picky little files you'll go to the Finder to examine the files if you even bother at that level. At this point, it still didn't need to dig that deep into the actual files and perhaps if it didn't guess by extension it only had to determine the "magic" of a few large files which goes very quick.

daisydisk read only

Since DaisyDisk is only showing you the top 10 or 20 space hogs, it doesn't need to go into details to figure out what the smaller files are (notice it conveniently lumps them into "Smaller Files 750MB" or some label). Users) then you repeat the process but only focusing on that level. If they drill down into the directories (e.g.

#DAISYDISK READ ONLY CODE#

With the du output, you could quickly determine the view of the top level directories you can filter that in code and make a representation as DaisyDisk does and just show sized pie slices. The file extension route is fast, examining the file is obviously much slower since you have to pull up the file. The only way you would know what a file is would be to make a guess by the file extension or look at the file to determine its type (e.g.

daisydisk read only

mind you, the filesystem might have been cached after whichever went first for timing purposes, so the second run will have that advantage.ĭu is pretty quick since it just looks at directory entries and reports path and file sizes. I've never used DaisyDisk, but judging by the video demo on their site, it seems they're using a few tricks to make it fast.įirst off, are you sure that du is slower? Try running du / >/dev/null and see if it is any faster than DaisyDisk.













Daisydisk read only