shelltools

module
v0.0.10 Latest Latest
Warning

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

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

README

Go Report Card License

findfile

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]

Version 0.0.1

OPTIONS

flags description
-d find directories only
-f find files only
-F list full path for files found
-h display this help message
-p find file(s) based on basename prefix
-s find file(s) based on basename suffix
-v display version message

Installation

findfile is go get-able.

    go get github.com/rsdoiel/findfile/...

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