zevv / duc

Dude, where are my bytes: Duc, a library and suite of tools for inspecting disk usage
GNU Lesser General Public License v3.0
589 stars 79 forks source link

ncdu import #169

Closed noamraph closed 1 month ago

noamraph commented 7 years ago

Hi,

ncdu is a nice disk usage utility that has the option to store a file with all the size information. I installed it on a synology NAS using just the binary they provide.

It is much faster to create the index on the server than on a client, due to the required latency for each filesystem call. If you can add a feature to import the index of ncdu, it would be very nice - it would allow me to quickly create the index on the server, and then view it graphically on my computer.

Thanks, Noam

zevv commented 7 years ago

Not planning on doing any importing yet. I assume you can't use Duc for the indexing on the Synology because there is no Duc package available for that platform?

noamraph commented 7 years ago

There are only a few packages for the synology platform. ncdu provide a binary that includes the required libraries, that runs as is on the Synology NAS.

On Sun, Jan 8, 2017 at 9:52 PM, Ico Doornekamp notifications@github.com wrote:

Not planning on doing any importing yet. I assume you can't use Duc for the indexing on the Synology because there is no Duc package available for that platform?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/zevv/duc/issues/169#issuecomment-271174546, or mute the thread https://github.com/notifications/unsubscribe-auth/ABe0OJgp2D_VpbYmXEfPr3xsVRuoNZj6ks5rQT5-gaJpZM4Ldqnf .

l8gravely commented 1 month ago

I'm closing this for now since I personally have no real plans to write an importer, but we would accept any patches. Please see the latest release of v1.5.0-rc1 which just came out. And building a static only binary might not be too hard, though a bunch of libraries would have to be built statically first.