junction-move
Move a folder to new location and make a Juction link to new location. Only works with windows yet.
Usage
Usage: npx junction-move from_folder to_folder
help
junction-move <source> <target>
move source folder to target folder and create an junction link from source to t
arget
Options:
-h, --help Show help [boolean]
-v, --version Show version number [boolean]
Examples:
junction-move C:\Go D:\Go Move Golang files from C: to D:
junction-move %userprofile%/Desktop D:\M Move Your Desktop from C:/ to D:/
yDesktop
Copyright (c) 2020-2022 snomiao@gmail.com
Implementation
With Two commands
robocopy %from_path% %to_path% /MOVE /e
mklink /J %from_path% %to_path%
About
License
GPLv3 - The GNU General Public License v3.0 - GNU Project - Free Software Foundation
Author
Author: snomiao snomiao@gmail.com Website: snomiao.com
Sponsors
- None yet.
Claim your sponsorship by donating snomiao <Email: snomiao@gmail.com>
Contribute
The main repo is in here, any issue and PR's welcome.