tools

package module
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2024 License: MIT Imports: 0 Imported by: 0

README

Build Go Report Card license LoC codecov

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.

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.

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.

Documentation

Overview

This package contains many convenience tools.

Directories

Path Synopsis
cmd
mcd
seq
Package dirlist implements functions to manipulate PATH-like environment variables.
Package dirlist implements functions to manipulate PATH-like environment variables.
internal
seq

Jump to

Keyboard shortcuts

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