detour

command module
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2023 License: BSD-2-Clause-Views Imports: 11 Imported by: 0

README

detour

Windows shortcut replacer tool.

Usage

Generating a rule set JSON file
$ detour gen myrules.json
{
  "Rules": [
    {
      "name": "C: -> D:",
      "old": "C:",
      "new": "D:"
    },
    {
      "name": "detour -> shortcut",
      "old": "detour",
      "new": "shortcut"
    },
    {
      "old": "\\bg.",
      "new": "go",
      "regexp": true
    }
  ]
}

Note: case insensitive

execute
$ detour -v --rule-set myrules.json ./subdir/**/*

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