Delete a remote file or directory
To delete a remote file or a directory use the del (or rm) command:
del [options] <remote path>
remote path can refer to a file or directory using either an absolute or a relative path.
Options:
--recursive, -r: recursively delete files and directories.
Delete multiple remote files
To delete multiple remote files use the mdel command
mdel <remote files>
remote files is an expression to select which files are deleted. See Regular Expressions and Wildcards for the wildcard syntax.
Options
--exclude: exclusion condition. Files matching the condition are ignored. See Filter Files and Directories.
--match: exclusion condition match type. See Filter Files and Directories.
Delete a local file or directory
To delete a local file or a directory use the ldel (or lrm) command:
ldel [options] <local path>
local path can refer to a file or directory using either an absolute or a relative path.
Options:
--recursive, -r: recursively delete files and directories.
Delete multiple local files
To delete multiple local files use the lmdel command:
lmdel <local files>
local files is an expression to select which files are deleted. See Regular Expressions for the regular expression syntax and Wildcards for the wildcard syntax.
Options:
--exclude: exclusion condition. Files matching the condition are ignored. See Filter Files and Directories.
--match: exclusion condition match type. See Filter Files and Directories.