Skip to content

ToFuKing/hard-links

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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]
Option Description
src Source
dest Destination
fullCheck Full checking, default is false

2. Command: link-plus

hln link-plus [config]
Option Description
config Config 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
    }
  ]
}

Releases

No releases published

Packages

No packages published