@nexrender/action-link
v1.59.1
Published
Create symbolic links between files or directories.
Downloads
378
Readme
Action: Link
Create symbolic links between files or directories.
Information
input
required argument, source path for the symbolic link, can be either relative or absolute pathoutput
required argument, destination path where the symbolic link will be created, can be either relative or absolute pathtype
optional argument, type of symbolic link to create:dir
- Create a directory symbolic link (default)file
- Create a file symbolic linkjunction
- Create a directory junction (Windows only)
The action will:
- Create any necessary parent directories for the output path
- Remove any existing symbolic link at the output path
- Create a new symbolic link from input to output
Note: Creating symbolic links may require elevated permissions on some systems.
Usage
{
"actions": {
"prerender": [
{
"module": "@nexrender/action-link",
"input": "source/large-file.mp4",
"output": "assets/linked-file.mp4",
"type": "file"
}
]
}
}
License
Please refer to the LICENSE file for more information. Unlike the main nexrender project, this plugin is licensed under the AGPL-3.0 license.