NAME

CBAIS::Actions::Link - create HardLinks


SYNOPSIS


DESCRIPTION

The CBAIS::Actions::Link class implements a CBAIS action which creates links. The verify and undo operations are also supported.

The constructor recognises the following keys

TARGET
The target file to link to. Must exist and be a file. May be a relative value (if dir is specified).

LINK
The name of the link. May be absolute filename unless the DIR key is specified.

DIR
A directory to cd to before creating the link.


CONFIG FILE EXAMPLES

The following demonstrates a relative and absolute symlink configuration in a class file.

{ action => 'link', target => '/sbin/ls', link => '/bin/ls',


},


SEE ALSO

the CBAIS::Actions::Action manpage