public class Clone extends Object
Constructor and Description |
---|
Clone() |
Modifier and Type | Method and Description |
---|---|
void |
cloneFiles(String rootPath,
String tag,
String username,
String uri,
boolean withCipher,
String keyFile)
Clone (copy) files contained in another Mimic collection.
|
static void |
main(String[] args)
Command-line interface.
|
void |
setVerbose(boolean verbose) |
void |
showHelp()
Show the help for the tool.
|
public static void main(String[] args)
args
- command-line arguments.public void showHelp()
public void cloneFiles(String rootPath, String tag, String username, String uri, boolean withCipher, String keyFile) throws com.jcraft.jsch.JSchException, Exception
rootPath
- the path to the root of the location collection.tag
- the tag name to assign to this clone in the Mimic configuration.username
- the username on the remote system to use for establishing a connection.uri
- the URI of the remote Mimic collection. See Connection
for syntax.withCipher
- whether to encrypt the data transfer. True will encrypt.keyfile
- the name of the file contain the SSH key. Used only with the scp protocolcom.jcraft.jsch.JSchException
- if an error occurs making an SSH connectionException
- if any other error occurs.public void setVerbose(boolean verbose)
Copyright © 2014-2016 Regents University of California. All Rights Reserved.