fstree

command module
v0.0.0-...-87e1dda Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2018 License: MIT Imports: 9 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

fstree

fstree is a recursive directory listing tool that generates a depth indented listing of files and sub-directories in a tree-like format.

fstree is an implementation of the tree(1) command line utility in Go.

Installation

go get -u github.com/dastergon/fstree

Example

Execute the following command to the current working directory.

$ fstree .

Expected output:

.
├── LICENSE
├── README.md
└── fstree.go

0 directories, 3 files

Usage

Usage: fstree [options...] <target>
  -L int Max display depth of the directory tree. (default -1)
  -a	All files are printed (included hidden files).
  -d	List directories only.
  -f	Prints the full path prefix for each file.
  -filelimit int Do not descend directories that contain more than # entries. (default -1)
  -o string Send output to filename.
  -p	Print the file type and permissions for each file.
  -version Outputs the version of fstree.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址