junction-move
TypeScript icon, indicating that this package has built-in type declarations

1.3.239 • Public • Published

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.

/junction-move/

    Package Sidebar

    Install

    npm i junction-move

    Weekly Downloads

    1

    Version

    1.3.239

    License

    MIT

    Unpacked Size

    24.3 kB

    Total Files

    20

    Last publish

    Collaborators

    • snomiao