This module assists in creating a directory. The user can specify the path while declaring creation of directory or at run-time of creating a directory. It can be performed either in remote or local machine. Let us see about how this module helps in creating a directory.
The help command leads the users regarding the purpose and as well as about the options that are included in the Mk Dir. The help command lists out the alternative parameters of MK Dir. . It also describes the syntax for creating a directory in two different ways either at time of declaration or at run-time. . The help command for MK dir is shown below.
cleopatra mkdir help
The syntax for declaring the help command is not case sensitive which is an added advantage. The following screenshot visualize you about the help command under MK dir.
kevells@corp:/# cleopatra Mkdir help
******************************
This command handles file copying functions.
Mkdir, mkdir
- path
Will ask you for details for servers, then copy a file or directory from local to remote
example: cleopatra mkdir path
example: cleopatra mkdir path --yes --path="/path/to/new/directory"
------------------------------
End Help
******************************
While using commands for help and creating a directory, instead of mkdir Mkdir can also be used.
Creating an Mk Dir can be done in two different ways:
Either at run-time
Example: cleopatra mkdir path
Or, at the time of declaration
Example: cleopatra mkdir path --yes --path="/path/to/new/directory"
The following screen shot depicts the second way of creating a directory.
kevells@corp:/# cleopatra mkdir path --yes --path="/kevellsdoc"
[Pharaoh Logging] [Mkdir] Executing mkdir /kevellsdoc
******************************
Mkdir Result: Success
------------------------------
Mkdir Finished
******************************
This file can be edited directly through the Web. Anyone can update and fix errors in this document with few clicks -- no downloads needed.
For an introduction to the documentation format please see the reST primer.