Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • An example for running the Retrieval Tool

    Code Block
    java -jar retrievaltool-{version}-driver.jar -c content -h test.duracloud.org -u myname -p mypassword -w work -s space1 space1space2 -o
  • Create a file containing the list of content IDs of a single space for the specified spaces using hidden password option (-p command line option not specified, will be prompted for password).  This example would not actually retrieve the content files, rather it creates a list of content files in the specified space.  Each specified space will have its own content list file created in the specified local content directory.  The naming convention of each list file created will be: "<space_id>-content-listing-<storage_provider>.txt"

    Code Block
    java -jar retrievaltool-{version}-driver.jar -h <host> -u <user> -c <content_dir> -w <work_dir> -s <list <singleof space ID> -lIDs separated by a space> -l
  • Retrieve only the specified contents by using the list-file option (-f):

    Code Block
    java -jar retrievaltool-{version}-driver.jar -h <host> -u <user> -c <content_dir> -w <work_dir> -f <path_to_file_of_specified_content_IDs> -s <single space ID>