diet-cp -
file copy utility
Gael Le Mahec
2010/02/02
Version 1.1
diet-cp
can copy
of a file from one machine to another.
This command takes in argument the source file
we want to copy, and the destination file we want to copy to.
A transfer if is generated, and you can use it to get the status of the transfert.
Table of Contents
diet-cp
[--config diet_config_file]
source file
destination file
diet-cp
uses the configuration file diet_config_file
defined with the --config
option to be able to get information about the host
where the source file is located.
If the --config
option is not set, diet-cp
will use $HOME/.diet/client.cfg. If this file does not exist, the path to the client configuration file could also be defined with the DIET_CLIENT_CONFIG environment variable.
diet-cp
will copy a source file
to a destination mode.
A transfer id is generated, and you can use it to get the status of the file you want to transfer.
- [--config diet_config_file]
- Configuration file used by diet-cp
to be able to get information about the host
where the soruce file is located. This option can be omitted. In that case we fall back to the default configuration file $HOME/.diet/client.cfg. The configuration file path could also be defined through a environment variable : DIET_CLIENT_CONFIG.
- source file
- The source file we want to copy. It is of the form :.
- destination file
- The destination file we want to copy to. It is of the form :.
- -h|--help
- Some help about diet-cp
- $HOME/.diet/client.cfg
- Default configuration file for diet-cp.
- DIET_CLIENT_CONFIG
- Variable that could store the path the the diet-cp
configuration file
- OMNIORB_CONFIG
- Variable defining the path to the omniORB configuration file
How to copy a file
called foo
on the bar
machine to a file
called foo2
on the bar2
machine?
diet-cp --config path_to_the_configuration_file bar:foo bar2:foo2
You then get a transfer ID you can use to get the status of the file transfer.
diet-chgrp(1),
diet-chmod(1),
diet-head(1),
diet-ls(1),
diet-mkdir(1),
diet-mv(1),
diet-rm(1),
diet-rmdir(1),
diet-tail(1),
diet-status(1),
diet-agent, omniNames.
- DIET
- diet-cp
requires a DIET installation with version >= 2.3.
Version: 1.1 of 2010/02/02.
- Copyright
- © 2010, GRAAL, INRIA Rhône-Alpes, 46 allée d'Italie, 69364 Lyon cedex 07, France
tech@sysfera.com
- Licence
- diet-cp Copyright (C) 2010, GRAAL, INRIA Rhône-Alpes - all rights reserved.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
- Misc
- If you find that software interesting, or if you find a bug, please send us a mail : tech@sysfera.com
with the
description of the problem, the version of the program and/or any information that could help us fixing it.
GRAAL, INRIA Rhône-Alpes
46 allée d'Italie
69364 Lyon cedex 07, FRANCE
Email: tech@sysfera.com
WWW: http://www.sysfera.com.