Copy

Synopsis

This module handles to copy the file under Cleopatra. It has function in two ways. They are put and get. This module can work with source and destination file path. It is user friendly with Ubuntu and cent OS. Let’s see about copy module.

Help command

This command can function about the objectives and commands available under copy module. It also explains the command to copy the file. Before installation you read this help command explains its function. The following image also helps you to understand this module clearly.

kevells@corp:/# cleopatra Copy help
******************************


 This command handles file copying functions.

 Copy, copy

       - put
       Will ask you for details for servers, then copy a file or directory from local to remote
       example: cleopatra copy put
       example: cleopatra copy put --yes --source="/tmp/file" --target="/home/user/file"

------------------------------
End Help
******************************

Installation

It is a glaring process to copy module under Cleopatra by just using the command given below,

The main function of copy is to copy the file from source file to destination. Here the user has to mention the file name and destination. The following syntax is used to copy

cleopatra copy put

Example

cleopatra copy put –yes—source=”/tmp/file”—target=”/home/user/file”

After vitalize the command it will catechize input. The user input as yes the user has to enter as source file then it requires target file. Now the user has to enter the target file. Finally the file has copied from source to destination. The following screenshot shows the copying of file.

kevells@corp:/# cleopatra copy put
Copy files? (Y/N)
Y
/ph.php
Enter target file path
/home
[Pharaoh Logging] [Copy] Executing cp -r /ph.php /home
******************************


Copy Result: Success
------------------------------
Copy Finished
******************************
******************************

Options

The user input as copy put then access the source file path and target file path.

Parameters Directory(default) Comments
put Source to target The file path copied from source to destination
get Path to source Copy the files from the path to source directory|

Benefits

  • The user can work with remote place also.
  • User can mention the path for source and destination.
  • It is very secure in copying.
  • Fast accessible.
  • Easily we can share the information with others.
  • The user can copy any kind of information (including sound and pictures).
  • The user can copy entire file path from one folder to another.
comments powered by Disqus

Edit this document!

This file can be edited directly through the Web. Anyone can update and fix errors in this document with few clicks -- no downloads needed.

  1. Go to Copy on GitHub.
  2. Edit files using GitHub's text editor in your web browser (see the 'Edit' tab on the top right of the file)
  3. Fill in the Commit message text box at the bottom of the page describing why you made the changes. Press the Propose file change button next to it when done.
  4. Then click Send a pull request.
  5. Your changes are now queued for review under the project's Pull requests tab on GitHub!

For an introduction to the documentation format please see the reST primer.