Skip to content

Dimche-msk/dir_tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

# DIR TREE - A tool for printing a directory tree and indicating the space it occupies.

## Examples


# DIR TREE - A tool for printing a directory tree and indicating the space it occupies.

## Usage:
  main_with_size [OPTIONS] [Path]

Application keys:
      --max-depth= maximum depth in output (default: 0)
      --only-dirs= print only directory sizes (no files) [yes|no] (default: no)
      --colorize=  Use colorized output [yes|no] (default: yes)

Help Options:
  -h, --help       Show this help message

## Usage example:
main_with_size.go  /usr   --only-dirs=yes  --max-depth=2
OR
main_with_size.go  --only-dirs=yes  --max-depth=2  --colorize=no /usr
OR any combination

## Dependencies
    "github.com/TwiN/go-color"
    "github.com/jessevdk/go-flags"

## Output example:
![Screenshot](./screenshot1.png)

This is my first GoLang program, don't throw tomatoes

About

Tool for printing a directory tree and indicating the space it occupies.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages