Logical File command line reference¶
lmi file is a command for LMI metacommand, which allows to query file system structure on a remote host with installed OpenLMI logicalfile provider. It can also create and delete empty directories – mount points.
It’s aim is to provide just that. It is not and won’t ever be a general purpose file manipulation tool. It does not allow to read, write or copy regular files for security reasons.
file¶
File and directory management functions.
Usage:
lmi file list <directory> [ <depth> ]
lmi file createdir <directory>
lmi file deletedir <directory>
lmi file show <target>
Commands:
- list
List a directory. When depth is specified, at most depth levels will be listed recursively.
The files and directories are listed in a tree-like structure.
- Possible listed file types are:
- F : Regular data file.
- Dev : Device file. Can be either block or character device.
- Dir : Directory.
- P : Pipe file.
- L : Symbolic link.
- S : Unix socket.
- createdir
- Create a directory. The parent directory must exist.
- deletedir
- Delete a directory. The directory must be empty.
- show
- Show detailed information about target. Target can be any file on the remote system.