mvshaker

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

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

Go to latest
Published: Feb 24, 2023 License: BSD-3-Clause Imports: 8 Imported by: 0

README

mvshaker

mvshaker swaps randomly your files.

asciicast

It was created to remember Warsaw's Second Law: "Never change anything after 3pm on a Friday." See http://barry.warsaw.us/software/laws.html for more details.

Directories are ignored if you don't use --recursive flag (short version -r) and files can be excluded using --exclude flag (short version -e).

Installation

To build mvshaker and install it to $GOPATH/bin/mvshakeryou need a working Go compiler:

% go install noa.mornie.org/eriol/mvshaker@latest

Examples

# mvshaker /bin/* --exclude bash

--exclude flag has a compact vesion (-e) useful when you want exclude multiple files:

# mvshaker /bin/* -e bash -e ls

Since version 0.2:

# mvshaker -r /bin -e bash -e ls

Documentation

Overview

mvshaker swaps randomly your files.

It was created to remember Warsaw's Second Law: "Never change anything after 3pm on a Friday." See http://barry.warsaw.us/software/laws.html for more details.

Directories are ignored if you don't use `--recursive` flag (short version `-r`) and files can be excluded using `--exclude` flag (short version `-e`).

For example:

# mvshaker /bin/* --exclude bash

--exclude flag has a compact vesion (-e) useful when you want exclude multiple files:

# mvshaker /bin/* -e bash -e ls

Since version 0.2:

# mvshaker -r /bin -e bash -e ls

Jump to

Keyboard shortcuts

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