Unsolved
This post is more than 5 years old
13 Posts
0
1800
July 17th, 2011 22:00
XCLOUD v1.0.15 cloud storage command-line tool is now available
XCLOUD is a command-line tool that may be used with a variety of cloud-based storage platforms to perform various data-access operations such as uploading or downloading files, scanning containers, and modifying metadata or access permissions. For a complete list of supported operations, simply invoke the XCLOUD tool with the "--help" parameter.
XCLOUD has been implemented in the widely popular PHP programming language for maximum portability across Windows, Linux, Unix, Mac OSX and other environments. The latest release of XCLOUD may always be obtained from http://code.google.com/p/xcloudtool/
We welcome your feedback on XCLOUD! Please send any questions, comments, bug fixes or new feature requests to brian.olson@emc.com.
The following improvements have been introduced in this XCLOUD release:
(001) Added support for "CREATEVERSION", "LISTVERSIONS" and "RESTOREVERSIONS" operations.
(002) A new "-M" switch will display the underlying HTTP protocol messages for the given operation.
XCLOUD v1.00.15: Cloud Storage command-line tool. (2011-07-17)
Copyright (c) 2010 EMC Corporation. Use '--license' to read the license terms.
Usage: XCLOUD [ ]
must be one of the following:
SCAN display contents of a directory object
QUERY query objects matching the given keyname
UPLOAD upload the given file
DOWNLOAD download the given file
APPEND append the given file to a remote object
RENAME rename an object
DELETE delete an object
SHARE generate a shareable URL for an object
GETACCESS display access grant info for an object
SETACCESS set an access grant for an object
DELETEACCESS remove an access grant from an object
GETMETA display metadata info for an object
SETMETA set a metadata pair for an object
DELETEMETA delete a metadata pair from an object
RETAIN enable/disable retention for an object
EXPIRE enable/disable automatic expiration for an object
LISTVERSIONS list all versions of an object
CREATEVERSION create a new version of an object
RESTOREVERSION restore a version of an object
GETINFO return information about an object
GETCLOUDINFO display information about the cloud
GETTOOLINFO display information about this tool
may be any of the following:
-h, --help display this help and exit
--license display the license terms and exit
-a=
-P= cloud transport protocol (HTTP or HTTPS) or port number
-b= block transfer size
-c= the given object's content type
-l= the local object's filename
-r= the remote object's name
-n= the remote object's new name (for RENAME operations)
--force overwrite if remote or local object already exists
-i= the given object's identifier
-V= the versioned object's identifier (for RESTORE operations)
-I display object identifiers
-g= add the access grant to the given object
-p= add the access permission for the given object
where may be FULL, READ, WRITE or NONE
--user add the user access grant (default)
--group add the group access grant
-k= the object's metadata keyname
-v= the object's metadata value
--listable make the metadata pair listable
-t= retention or expiration period for the given object
-T= retention or expiration endtime (UTC) for the given object
where is of the form "yyyy-mm-ddThh:mm:ssZ"
--enable enable retention or automatic expiration (default)
--disable disable retention or automatic expiration
-u generate a shareable (pre-signed) URL for the remote object
--url display a shareable (pre-signed) URL for the remote object
-e= expiration period for the pre-signed (shareable) URL
-R invoke the given operation recursively
-Q suppress all normal messages
-S suppress all error messages
-D display debug messages
-M display low-level HTTP protocol messages

