Skip to content

bendikMichal/termtree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TermTree

Tree file and folder view for windows and linux.

Made in c I suppose.

Installation / How to build

If you are using arch linux

  • Available on AUR
  • run with ttree
yay -S termtree

Build using make

  • build files will be located in ./build directory
    • make sure to have internet connection when using make, otherwise the build will fail (it has to get it's dependencies from github)
make

Installation (linux only)

  • make sure you run make before installing
make install
  • After installation the program should be callable by ttree
  • To see manual use man ttree

Uninstallation (linux only)

make uninstall

Features

  • file / folder sizes

$ ttree -i 3
.
^ example_dir_3                  [ ./example_dir_3 ]
  ├─ [ 101 b     ] example_file.txt
  ├─ [ 14 b      ] example_file_2.txt
  └─[ 115 b     ]

[ 103 b     ] example_file.txt
^ example_dir_1                  [ ./example_dir_1 ]
  ├─ [ 0 b       ] example_file.txt
  └─[ 0 b       ]

[ 30 b      ] .somefile
[ 320 b     ] find-infile.sh
^ example_dir_2                  [ ./example_dir_2 ]
  ├─ ^ example_inside_dir                [ ./example_dir_2/example_inside_dir ]
  │   └─[ 0 b       ]
  │ 
  └─[ 0 b       ]

[ 0 b       ] executable_example
 >v---TOTAL:----------------------< 
  └─[ 568 b     ]

  • infile search

ttree --search-in-file=<text>/<specific_file_type / empty_for_all>
  • search for files / folders

ttree --find=<file/folder name>
  • specify depth of subfolders

ttree --max-index=<number>