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 and directory management functions.
lmi file list <directory> [ <depth> ]
lmi file createdir <directory>
lmi file deletedir <directory>
lmi file show <target>
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.
- Create a directory. The parent directory must exist.
- Delete a directory. The directory must be empty.
- Show detailed information about target. Target can be any file on the remote system.