1.0.1 • Published 3 years ago

hard-links v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

Hard Links

Install

npm i -g hard-links

Usage

hln [command]

Commands:
  hln link [src] [dest] [fullCheck]  Start to hard link
  hln link-plus [config]             Start to hard link plus

Options:
  --help     Show help                                                 [boolean]
  --version  Show version number                                       [boolean]

1. Command: link

hln link [src] [dest] [fullCheck]
OptionDescription
srcSource
destDestination
fullCheckFull checking, default is false

2. Command: link-plus

hln link-plus [config]
OptionDescription
configConfig file path (.json)

Config file example

{
  "name": "Just link movies",
  "configs": [
    {
      "src": "[path-to-you-root]/download",
      "dest": "[path-to-you-root]/media",
      "excludes": [
        "[path-to-you-root]/download/seed",
        "[path-to-you-root]/download/_temp",
        "[path-to-you-root]/download/_stash",
      ],
      "fullCheck": false
    }
  ]
}
1.0.1

3 years ago

1.0.0

3 years ago

0.0.2

3 years ago