Unsolved
This post is more than 5 years old
13 Posts
0
2587
XCLOUD v1.0.1 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.
XCLOUD v1.00.1: Cloud Storage command-line tool.
Copyright (c) 2010 EMC Corporation. Use '--license' to read the license terms.
Usage: XCLOUD [OPTIONS]
Where [OPTIONS] may be:
-h, --help display this help and exit
--license display the license terms and exit
-o= perform a cloud operation, may 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
GETMETA display metadata info for an object
SETMETA set a metadata pair for an object
DELETEMETA delete a metadata pair of an object
GETACCESS display access grant info for an object
SETACCESS set an access grant for an object
DELETEACCESS remove an access grant for an object
GETINFO return information about an object
GETCLOUDINFO display information about the cloud
GETTOOLINFO display information about this tool
-a=
-t= 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 object or local file already exists
-i= the given object's identifier
-k= the object's metadata keyname
-v= the object's metadata value
--listable make the metadata pair listable
-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
--group add the GROUP access grant
-u generate a pre-signed (shareable) URL for the remote object
--url display a pre-signed (shareable) URL for the remote object
-e= expiration period for the pre-signed (shareable) URL
-q suppress all normal messages
-s suppress all error messages
-d display debug messages