Skip to content

shu-go/detour

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/**/*