About 50 results
Open links in new tab
  1. How to show directory sizes in tree format with correct values and ...

    Apr 11, 2025 · └── [100M] c └── [100M] d └── [100M] e └── [100M] f 600M used in 6 directories, 1 file (in case it's not clear from the main output, there's one file of 100M size in the f directory) I would …

  2. Print size of directory content with tree command in tree 1.5?

    I like tree it's a nice way to display my files and the size of folders/directories. But the -h option only shows the size of the directory, not the cumulative size of its contents. /media/ ├── [ 16K] 64D9 …

  3. How to combine tree with the directory size? - Unix & Linux Stack …

    Jun 12, 2017 · The following command will provide a human readable information, on the size of all directories which are up-to depth of 2 levels of directories below the current directory: du --max …

  4. How to sort from smallest to biggest with `tree` command line tool?

    Dec 1, 2016 · Even if the tree tool doesn't support sorting by size directly, you can still do it using tree and sort. You can use the following command to list all the files and their paths in the given folder …

  5. combine the best of 'du' and 'tree' - Unix & Linux Stack Exchange

    Oct 25, 2015 · I'm wondering if we can combine the honesty of 'du' with the indented formatting of 'tree'. If I want a listing of the sizes of directories: du -hx -d2 ...displays two levels deep and all the size

  6. Cumulative size disk usage with du and tree commands

    Mar 23, 2021 · I need to show my root / directory file cumulative size with deep level 1 Its looks easy but I can't run which deserve tree command doesn't show cumulative size tree --du -h -L 1 . ├── [ 7] bin...

  7. Compare directory trees regarding file name (and size and date)

    Dec 1, 2014 · Compare directory trees regarding file name (and size and date) [duplicate] Ask Question Asked 11 years, 2 months ago Modified 11 years, 1 month ago

  8. command line - Sorting files according to size recursively - Unix ...

    I need to find the largest files in a folder. How do I scan a folder recursively and sort the contents by size? I have tried using ls -R -S, but this lists the directories as well. I also tried ...

  9. How to list all files ordered by size - Unix & Linux Stack Exchange

    Nov 3, 2012 · I would like to list all files in the order of big to small in size and the files could be present anywhere in a certain folder.

  10. directory structure - Show files modified after a particular date ...

    Aug 11, 2020 · I'm trying to view files modified before or after a certain date using the hierarchical output of the Unix tree command. For example, I know that one can use tree to sort files chronologically and