Skip to content

Displays summaryy about number of file types and their size

Notifications You must be signed in to change notification settings

adrianlarion/tsls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

usageg anim

Displays categorized information about file terminations, num of files and total size. It's pretty fast, using go's concurrency capabilities. Sorts by showing the largest size last. It shows 3 columns:

columns

  • termination
  • number of files using that termination
  • total size of files with that termination

NOEXT termination means that the files have no termination, probably binaries

install

  • I provided a binary for Linux which you can download at https://github.com/adrianlarion/tsls/tree/main/binaries/linux

  • optionally use chmod +x tsls

  • run by using ./tsls

  • optionally you can place this executable in your path so you can run it from anywhere

    • eg; create bin dir in your $HOME, place executables there, add to your .bashrc the line export PATH="~/bin:$PATH", then source it so ~/.bashrc

Build

git clone https://github.com/adrianlarion/tsls

  • go inside tsls dir
go mod tidy
go build .

usage

Usage: tsls [--bytes] [--reverse] [DIR]

Positional arguments:
  DIR                    target directory

Options:
  --bytes, -b            show bytes instead of human readable size
  --reverse, -r          reverse sort
  --help, -h             display this help and exit


About

Displays summaryy about number of file types and their size

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages