replace

command module
v0.0.0-...-a813a0a Latest Latest
Warning

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

Go to latest
Published: May 30, 2019 License: MIT Imports: 8 Imported by: 0

README

Simple find and replace. Searches every file in a given directory, and all sub directories. Ignores .git directory entirely.

Install

go get github.com/btm6084/replace

Usage

replace "search term" "replace term" path/to/directory extension_filter

Path defaults to ./

Extension filter defaults to no filter

Example

replace "fmt.Prinln" "fmt.Println" ~/golang/src/github.com/btm6084/replace .go

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