Skip to main content

$movedir

This function uses the fs-extra library to move a file or directory from the specified source path to the specified destination path.

Parameters

ParameterDescription
sourcePathPath to the source file or directory to be moved.
destinationPathPath to the destination where the file or directory will be moved.

Example

<AoiClient>.addCommand({
name: "misc",
code: `
$movedir[source/path/directory; destination/path/new_directory]
`,
});