shelltools

module
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2016 License: BSD-3-Clause

README

Go Report Card License

fsutils

Various utilities for simplifying work on the command line. It includes a simple implementation of a file finder in go. It demonstrates walking a file path, making choices based on file type, and works as an example of using Go's flag package.

USAGE

findfile [OPTIONS] TARGET_FILENAME [DIRECTORIES_TO_SEARCH]
finddir [OPTIONS] TARGET_FILENAME [DIRECTORIES_TO_SEARCH]

Use the "-help" option for a full list of options.

Installation

fsutils is go get-able.

    go get github.com/rsdoiel/fsutils/...

Or grab the pre-compiled binaries at http://github.com/rsdoiel/fsutils/releases/latest

Directories

Path Synopsis
cmds
finddir
finddir.go - a simple directory tree walker that looks for directories by name, basename or extension.
finddir.go - a simple directory tree walker that looks for directories by name, basename or extension.
findfile
findfile.go - a simple directory tree walker that looks for files by name, basename or extension.
findfile.go - a simple directory tree walker that looks for files by name, basename or extension.

Jump to

Keyboard shortcuts

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