Dashboard > Hippo CMS > ... > Hippo Webdav Batch Processor plugins > Hippo RepositoryCopy
Hippo RepositoryCopy
Added by Jasha Joachimsthal, last edited by Mathijs Brand on Jun 09, 2007  (view change)
Labels: 


Use

With this tool you can copy files and folders from one repository location to an other. This tool also copies all properties on a file.

It can also be used to re-index files by setting source and destination to the same location.

Use the Hippo Datacopy tool to copy files if you do not want to copy the Workflow ID.

Getting the code

The code is available in SVN
Compile:

Build with Java 1.4
maven

Running

Create a configuration file plugin.properties (similar to the one outlined below), then run:

$ java -jar target/wdbp-repository-copy-VERSION-uber.jar plugin.properties

Sample configuration

In this sample configuration file it will copy all files from /files/default.preview/content to /files/default.www/content.

# The source location. Path can either be a folder or a file.
location.host=localhost
location.port=60000
location.rootpath=/default
location.path=/files/default.preview/content

# authentication of the source location
authentication.username=root
authentication.password=password

plugin.1.classname=nl.hippo.webdav.batchprocessor.plugins.CopyRepository

# The destination location. Path can either be a folder or a file.
plugin.1.configuration.destination.location.host=localhost
plugin.1.configuration.destination.location.port=60000
plugin.1.configuration.destination.location.rootpath=/default
plugin.1.configuration.destination.location.path=/files/default.www/content

# authentication of the destination location
plugin.1.configuration.destination.authentication.username=root
plugin.1.configuration.destination.authentication.password=password

Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.7 Build:#813 Aug 28, 2007) - Bug/feature request - Contact Administrators