storageΒΆ

Usage:
  storage [--storage=SERVICE] [--parallel=N] create dir DIRECTORY
  storage [--storage=SERVICE] [--parallel=N] get SOURCE DESTINATION [--recursive]
  storage [--storage=SERVICE] [--parallel=N] put SOURCE DESTINATION [--recursive]
  storage [--storage=SERVICE] [--parallel=N] list [SOURCE] [--recursive] [--output=OUTPUT]
  storage [--storage=SERVICE] [--parallel=N] delete SOURCE
  storage [--storage=SERVICE] search  DIRECTORY FILENAME [--recursive] [--output=OUTPUT]
  storage [--storage=SERVICE] sync SOURCE DESTINATION [--name=NAME] [--async]
  storage [--storage=SERVICE] sync status [--name=NAME]
  storage config list [--output=OUTPUT]
  storage [--parallel=N] copy SOURCE DESTINATION [--recursive]


This command does some useful things.

Arguments:
  SOURCE        SOURCE can be a directory or file
  DESTINATION   DESTINATION can be a directory or file
  DIRECTORY     DIRECTORY refers to a folder on the cloud service


Options:
  --storage=SERVICE  specify the cloud service name like aws or
                     azure or box or google

Description:
  commands used to upload, download, list files on different
  cloud storage services.

  storage put [options..]
    Uploads the file specified in the filename to specified
    cloud from the SOURCEDIR.

  storage get [options..]
    Downloads the file specified in the filename from the
    specified cloud to the DESTDIR.

  storage delete [options..]
     Deletes the file specified in the filename from the
     specified cloud.

  storage list [options..]
    lists all the files from the container name specified on
    the specified cloud.

  storage create dir [options..]
    creates a folder with the directory name specified on the
    specified cloud.

  storage search [options..]
    searches for the source in all the folders on the specified
    cloud.

  sync SOURCE DESTINATION
    puts the content of source to the destination.
     If --recursive is specified this is done recursively from
        the source
     If --async is specified, this is done asynchronously
     If a name is specified, the process can also be monitored
        with the status command by name.
     If the name is not specified all date is monitored.

  sync status
    The status for the asynchronous sync can be seen with this
    command

  config list
    Lists the configures storage services in the yaml file

  storage copy SOURCE DESTINATION
    Copies files from source storage to destination storage.
    The syntax of SOURCE and DESTINATION is:
    SOURCE - awss3:source.txt
    DESTINATION - azure:target.txt

Example:
   set storage=azureblob
   storage put SOURCE DESTINATION --recursive

   is the same as
   storage --storage=azureblob put SOURCE DESTINATION --recursive

   storage copy azure:source.txt oracle:target.txt