k4dirstat
                                
                                 k4dirstat copied to clipboard
                                
                                    k4dirstat copied to clipboard
                            
                            
                            
                        du output import
Original report by Andrea (Bitbucket: eadmaster, GitHub: eadmaster).
Parse and generate the directory tree the from the du output. This way the program could be used to browse offline volumes, like a disk cataloger.
Similar programs: xdiskusage, xdu, tkdu.
Original comment by Jerome Robert (Bitbucket: jeromerobert, GitHub: jeromerobert).
Some thoughts about this feature request:
- I like it because it allows to capture file usage on boxes where kdirstat is not installed
- I was thinking to implement it as an alternative KCacheReader but the API does not fit.
- Need to add a button to the File menu "Read du output"
- Need to add a command line argument
- du output doesn't make the difference between files and directories, so we will have to concider all leaves as files even if some are directories.
- All file actions (copy, open with, delete, ...) will have to be disabled
- du output will have to be in bytes (created with -B1 or -b options)
Original comment by Andrea (Bitbucket: eadmaster, GitHub: eadmaster).
to be more flexible, this could be turned into a "generic plaintext import": the user defines a regular expression like "%filename% %size% %YYMMDD%" then the program parses the input file one-line at a time trying to match the regexp. Obviously if the input file does not contains filesizes the treemap cannot be rendered.