Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rcmdnk/stow_reset
Command to reset stow directory, especially for the case in which the package installs symbolic links.
https://github.com/rcmdnk/stow_reset
Last synced: about 1 month ago
JSON representation
Command to reset stow directory, especially for the case in which the package installs symbolic links.
- Host: GitHub
- URL: https://github.com/rcmdnk/stow_reset
- Owner: rcmdnk
- Created: 2013-11-02T17:48:03.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2023-12-01T14:17:53.000Z (12 months ago)
- Last Synced: 2024-05-01T12:24:47.042Z (7 months ago)
- Language: Shell
- Size: 12.7 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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](https://github.com/mxcl/homebrew):
$ brew tap rcmdnk/rcmdnkpac
$ brew install stow_resetIf you have [brew-file](https://github.com/rcmdnk/homebrew-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](https://github.com/rcmdnk/homebrew-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.
## Usagestow_reset [-nh] [-d ] [-t ] package
Arguments:
-d Set stow dir to DIR (default is current dir)
-t 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* [stowでmake installしたパッケージを管理](http://rcmdnk.github.io/blog/2013/08/11/computer-linux-windows-cygwin/)