-f, --force
Remove existing destination files.
An option of lnx.
Usage
lnx -f TARGET... [LINK_NAME|DIRECTORY]
lnx --force TARGET... [LINK_NAME|DIRECTORY]Details
| Short | Long | Value | Default | Meaning |
|---|---|---|---|---|
-f | --force | none | remove existing destination files |
Examples
Repoint an existing symlink to a directory, in one atomic step
lnx -sfn releases/v3 currentReplace an existing file with a link
lnx -sf app-v2.conf app.confCreate a release directory and point current at it with the gnux shell
gnux shell -c 'mkdirx -p releases/v4 && lnx -sfnv releases/v4 current'Help in the terminal
gnux help lnx --force