Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Save file as git-mvs in your path and then:
- ```sh
- git mvs "s/foo/bar/g"
- ```
- When run against a git tree like this:
- /
- ├ /foodir
- │ ├ /foofile
- │ └ /otherfile
- └ /otherdir
- ├ /foofile
- └ /otherfile
- then the result is:
- /
- ├ /bardir
- │ ├ /barfile
- │ └ /otherfile
- └ /otherdir
- ├ /barfile
- └ /otherfile
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement