Public bug reported: Currently `tree -dh`/`tree -h` simply shows the size of the directory nodes that tend to be 4K in a default ext4 installation with 4K block sizes. While this is not very useful in terms of UX, it does however have it's use by not spending a whole lot of IO on calculating recursive sizes. However, in addition to the current mode, it would be great to have an option, that recursively adds up the size of the its contents and displays the total size of the directory (inclusive of all hidden and dot files), instead of just the directory node size.
ProblemType: Bug DistroRelease: Ubuntu 18.10 Package: tree 1.7.0-5 ProcVersionSignature: Ubuntu 4.18.0-13.14-generic 4.18.17 Uname: Linux 4.18.0-13-generic x86_64 NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair ApportVersion: 2.20.10-0ubuntu13.1 Architecture: amd64 CurrentDesktop: GNOME Date: Mon Jan 28 18:49:37 2019 Dependencies: gcc-8-base 8.2.0-7ubuntu1 libc6 2.28-0ubuntu1 libgcc1 1:8.2.0-7ubuntu1 libidn2-0 2.0.5-1 libunistring2 0.9.10-1ubuntu1 InstallationDate: Installed on 2019-01-01 (27 days ago) InstallationMedia: Ubuntu 18.10 "Cosmic Cuttlefish" - Release amd64 (20181017.3) SourcePackage: tree UpgradeStatus: No upgrade log present (probably fresh install) modified.conffile..etc.apport.crashdb.conf: [modified] mtime.conffile..etc.apport.crashdb.conf: 2019-01-15T04:51:59.517661 ** Affects: tree (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug cosmic ** Description changed: Currently `tree -dh`/`tree -h` simply shows the size of the directory nodes that tend to be 4K in a default ext4 installation with 4K block - sizes. While this is not very useful in terms of UX, it does however - serves it's purpose by not spending a whole lot of IO on calculating - recursive sizes. However, in addition to the current mode, it would be - great to have an option, that recursively adds up the size of the its - contents. + sizes. While this is not very useful in terms of UX, it does however has + it's use by not spending a whole lot of IO on calculating recursive + sizes. However, in addition to the current mode, it would be great to + have an option, that recursively adds up the size of the its contents + and displays the total size of the directory (inclusive of all hidden + and dot files), instead of just the directory node size. ProblemType: Bug DistroRelease: Ubuntu 18.10 Package: tree 1.7.0-5 ProcVersionSignature: Ubuntu 4.18.0-13.14-generic 4.18.17 Uname: Linux 4.18.0-13-generic x86_64 NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair ApportVersion: 2.20.10-0ubuntu13.1 Architecture: amd64 CurrentDesktop: GNOME Date: Mon Jan 28 18:49:37 2019 Dependencies: - gcc-8-base 8.2.0-7ubuntu1 - libc6 2.28-0ubuntu1 - libgcc1 1:8.2.0-7ubuntu1 - libidn2-0 2.0.5-1 - libunistring2 0.9.10-1ubuntu1 + gcc-8-base 8.2.0-7ubuntu1 + libc6 2.28-0ubuntu1 + libgcc1 1:8.2.0-7ubuntu1 + libidn2-0 2.0.5-1 + libunistring2 0.9.10-1ubuntu1 InstallationDate: Installed on 2019-01-01 (27 days ago) InstallationMedia: Ubuntu 18.10 "Cosmic Cuttlefish" - Release amd64 (20181017.3) SourcePackage: tree UpgradeStatus: No upgrade log present (probably fresh install) modified.conffile..etc.apport.crashdb.conf: [modified] mtime.conffile..etc.apport.crashdb.conf: 2019-01-15T04:51:59.517661 ** Description changed: Currently `tree -dh`/`tree -h` simply shows the size of the directory nodes that tend to be 4K in a default ext4 installation with 4K block - sizes. While this is not very useful in terms of UX, it does however has - it's use by not spending a whole lot of IO on calculating recursive + sizes. While this is not very useful in terms of UX, it does however + have it's use by not spending a whole lot of IO on calculating recursive sizes. However, in addition to the current mode, it would be great to have an option, that recursively adds up the size of the its contents and displays the total size of the directory (inclusive of all hidden and dot files), instead of just the directory node size. ProblemType: Bug DistroRelease: Ubuntu 18.10 Package: tree 1.7.0-5 ProcVersionSignature: Ubuntu 4.18.0-13.14-generic 4.18.17 Uname: Linux 4.18.0-13-generic x86_64 NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair ApportVersion: 2.20.10-0ubuntu13.1 Architecture: amd64 CurrentDesktop: GNOME Date: Mon Jan 28 18:49:37 2019 Dependencies: gcc-8-base 8.2.0-7ubuntu1 libc6 2.28-0ubuntu1 libgcc1 1:8.2.0-7ubuntu1 libidn2-0 2.0.5-1 libunistring2 0.9.10-1ubuntu1 InstallationDate: Installed on 2019-01-01 (27 days ago) InstallationMedia: Ubuntu 18.10 "Cosmic Cuttlefish" - Release amd64 (20181017.3) SourcePackage: tree UpgradeStatus: No upgrade log present (probably fresh install) modified.conffile..etc.apport.crashdb.conf: [modified] mtime.conffile..etc.apport.crashdb.conf: 2019-01-15T04:51:59.517661 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1813601 Title: tree and recursive directory sizing To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/tree/+bug/1813601/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs