Skip to content

rcmdnk/stow_reset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 

Repository files navigation

stow_reset

Command to reset stow directory, especially for the case in which the package installs symbolic links.

Installation

On Mac, you can install scripts by Homebrew:

$ brew tap rcmdnk/rcmdnkpac
$ brew install stow_reset

If you have brew-file, add following lines to Brewfile:

tap 'rcmdnk/rcmdnkpac'
brew 'stow_reset'

then, do:

$ brew file install

Or if you write like:

tapall 'rcmdnk/rcmdnkpac'

and do brew file install, you will have all useful scripts in rcmdnkpac.

You can also use an install script on the web like:

$ curl -fsSL https://raw.github.com/rcmdnk/stow_reset/install/install.sh| sh

This will install scripts to /usr/bin and you may be asked root password.

If you want to install other directory, do like:

$ curl -fsSL https://raw.github.com/rcmdnk/stow_reset/install/install.sh|  prefix=~/usr/local/ sh

Or, simply download scripts and set where you like.

Usage

stow_reset [-nh] [-d <stow dir>] [-t <target dir>] package

Arguments:
      -d <stow dir>    Set stow dir to DIR (default is current dir)
      -t <target dir>  Set target to DIR (default is parent of stow dir)
      -n               Do not actually make any filesystem changes
      -h               Print Help (this message) and exit

References

About

Command to reset stow directory, especially for the case in which the package installs symbolic links.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages