Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alessio/unixtools
Convenience Tools
https://github.com/alessio/unixtools
command-line command-line-tool golang opinionated regexp shell shell-scripting tools unix unix-command
Last synced: about 1 month ago
JSON representation
Convenience Tools
- Host: GitHub
- URL: https://github.com/alessio/unixtools
- Owner: alessio
- License: mit
- Created: 2020-10-18T11:00:26.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-09-11T19:30:03.000Z (2 months ago)
- Last Synced: 2024-10-12T16:53:23.850Z (about 1 month ago)
- Topics: command-line, command-line-tool, golang, opinionated, regexp, shell, shell-scripting, tools, unix, unix-command
- Language: Go
- Homepage:
- Size: 132 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![Build](https://github.com/alessio/unixtools/workflows/Build/badge.svg)
[![Go Report Card](https://goreportcard.com/badge/al.essio.dev/pkg/tools)](https://goreportcard.com/report/github.com/alessio/unixtools)
[![license](https://img.shields.io/github/license/alessio/unixtools.svg)](https://github.com/alessio/unixtools/blob/master/LICENSE)
[![LoC](https://tokei.rs/b1/github/alessio/unixtools)](https://github.com/alessio/unixtools)
[![codecov](https://codecov.io/github/alessio/unixtools/graph/badge.svg?token=XG71JUFEFN)](https://codecov.io/github/alessio/unixtools)# unixtools
alessio's UNIX Convenience Tools.
# Installation
Just run:
```
$ go get al.essio.dev/pkg/tools/cmd/...
```# What's in This Repo?
## elvoke
This is a Golang implementation of [Jakub Wilk's elvoke](https://github.com/jwilk/elvoke).
Run or postpone a command, depending on how much time elapsed from the last successful run.
## mcd
Change the current directory to DIR. Also, create intermediate directories as required.
## refiles
This was inspired by @niemeyer's [remv](http://niemeyer.net/remv).
Rename files in directories that match a given pattern.
### Options
Run `refiles -help` to print the following help screen:
```
-I prompt before every overwrite
-R search files under each directory recursively
-m move files matching PATTERN to REPLACE
-simulate
print changes that are supposed to be done, but don't actually make any
-verbose
enable verbose output
```## popbak, pushbak
Manage a stack of directories backups. **pushbak** makes backups of a directory, **popbak**
restores the last backup available.## seq
Golang implementation of the UNIX `seq` command. It prints sequences of numbers.
This is a Go implementation of the UNIX `seq` command.
## addpath, delpath
Utilityies to handle PATH-like variable modifications.