Support This Project

site link

Description

Creates or removes a symbolic link. This command will use file system symbolic links where the file system supports them, or will alternatively provide this functionality via an abstraction layer (such as for the Windows platform).

Syntax

site link {create | remove} [<file>] <linkname>

Detailed information on the options/arguments: <file>, <linkname>

<dir> is only required when you are creating a symbolic link with the site link create... command. <linkname> is any valid file system name for either a new or existing symbolic link.

Limitations

  • The paths specified with this command are relative to the current user's home directory.

Examples

site link create photos/spain spain

Creates a new symbolic link in the current user's home directory which points to the photos/spain folder (also relative to the current home directory).

site link create file1.txt file2.txt

Creates a new symbolic link named file2.txt which points to the existing file file1.txt.

site link remove spain

Removes the spain symbolic link (but not the actual data it was linking to).