Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Create a symlink at a destination path and pointing to a source target except if a file or directory already exists.

⚙️ Compatible targets: Linux

⚠️ Deprecated: This method is deprecated and should not be used.

Parameters

NameDocumentation
sourceSource file (absolute path on the target node).

This parameter is required.
pathDestination file (absolute path on the target node).

This parameter is required.

Outcome conditions

You need to replace ${path} with its actual canonified value.

  • ✅ Ok: file_create_symlink_${path}_ok
    • ☑️ Already compliant: file_create_symlink_${path}_kept
    • 🟨 Repaired: file_create_symlink_${path}_repaired
  • ❌ Error: file_create_symlink_${path}_error

Example

method: file_create_symlink
params:
  source: VALUE
  path: VALUE