Versions Compared

Key

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

...

  • Retrieve all the files stored within the 2 specified spaces and place them in the specified local content directory under sub-directories matching the specified 2 space names.

    Code Block
    java -jar retrievaltool-{version}-driver.jar -c content -h test.duracloud.org -u myname -p mypassword -w work -s space1 space2 -o
  • Retrieve all the files stored within all spaces and place them in the specified local content directory under sub-directories matching the space names.

    Code Block
    java -jar retrievaltool-{version}-driver.jar -c content -h test.duracloud.org -u myname -p mypassword -w work -a
  • Create a file containing the list of content IDs 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 of space IDs separated by a space> -l
  • Retrieve only the specified contents by using the list-file option (-f).  The -f option can only operate on one space.  This command would result in having all the content files listed in the specified file of content IDs placed in the specified local content directory.

    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>