Cyberduck Mountain Duck CLI

Changes between Version 96 and Version 97 of help/en/howto/cli


Ignore:
Timestamp:
Dec 18, 2018 3:07:47 PM (8 months ago)
Author:
dkocher
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • help/en/howto/cli

    v96 v97  
    127127
    128128== Usage ==
    129 
     129{{{
     130Usage:duck [options...]
     131}}}
    130132Run `--help` to get the option screen.
    131 {{{
    132 Usage:duck [options...]
    133 
    134 URLs must be fully qualified. Paths can either denote a remote file (ftps://user@example.net/resource) or folder (ftps://user@example.net/directory/) with a trailing slash. You can reference files
    135 relative to your home directory with /~ (ftps://user@example.net/~/).
    136 Supported protocols
    137 Windows Azure Storage
    138         azure://<container>/<key>
    139 Backblaze B2 Cloud Storage
    140         b2://<container>/<key>
    141 WebDAV (HTTP)
    142         dav://<hostname>/<folder>/<file>
    143 WebDAV (HTTPS)
    144         davs://<hostname>/<folder>/<file>
    145 DRACOON (Email Address)
    146         dracoon://<hostname>/<folder>/<file>
    147 Dropbox
    148         dropbox://<folder>/<file>
    149 mellifera.local
    150         file://<folder>/<file>
    151 FTP (File Transfer Protocol)
    152         ftp://<hostname>/<folder>/<file>
    153 FTP-SSL (Explicit AUTH TLS)
    154         ftps://<hostname>/<folder>/<file>
    155 Google Drive
    156         googledrive://<folder>/<file>
    157 Google Cloud Storage
    158         gs://<container>/<key>
    159 hubiC (OVH)
    160         ovh://<container>/<key>
    161 Microsoft OneDrive
    162         onedrive://<folder>/<file>
    163 Amazon S3
    164         s3://<container>/<key>
    165 DigitalOcean Spaces (nyc3)
    166         digitalocean://<container>/<key>
    167 Oracle Cloud Infrastructure
    168         oracle://<container>/<key>
    169 SFTP (SSH File Transfer Protocol)
    170         sftp://<hostname>/<folder>/<file>
    171 Spectra S3 (HTTPS)
    172         spectralogic://<container>/<key>
    173 Rackspace Cloud Files (US)
    174         rackspace://<container>/<key>
    175 Swift (OpenStack Object Storage)
    176         swift://<container>/<key>
    177 
    178 You can install additional connection profiles in ~/Library/Group Containers/G69SCX94XU.duck/Library/Application Support/duck/Profiles
    179 
    180     --application <path>                  External editor application
    181  -c,--mkdir <url>                         Make directory
    182     --chmod <<mode>>                      Set explicit permission from octal mode value for uploaded file
    183     --copy <url> <url>                    Copy between servers
    184  -D,--delete <url>                        Delete
    185  -d,--download <url> <[file]>             Download file or folder. Denote a folder with a trailing '/'
    186  -e,--existing <action>                   Transfer action for existing files
    187                                           Options for downloads and uploads:
    188                                                 Resume  Append existing files (resume)
    189                                                 Overwrite       Overwrite all files (overwrite)
    190                                                 Rename  Rename transferred files with a timestamp appended to the filename (similar)
    191                                                 Rename existing Rename existing files with timestamp appended to filename (rename)
    192                                                 Skip    Skip transfer of files that already exist (skip)
    193                                                 Compare Skip files that match size, modification date or checksum (compare)
    194                                                 Cancel   (cancel)
    195                                           Options for synchronize:
    196                                                 Download        Download changed and missing files (download)
    197                                                 Upload  Upload changed and missing files (upload)
    198                                                 Mirror  Download and Upload (mirror)
    199                                                 Cancel   (cancel)
    200                                          
    201     --edit <url>                          Edit file in external editor
    202  -h,--help                                Print this help
    203  -i,--identity <private key file>         Selects a file from which the identity (private key) for public key authentication is read
    204  -L,--longlist <url>                      Long list format with modification date and permission mask
    205  -l,--list <url>                          List files in remote folder
    206     --nokeychain                          Do not save passwords in keychain
    207  -P,--preserve                            Preserve permissions and modification date for transferred files
    208  -p,--password <password or secret key>   Password
    209     --parallel <connections>              Number of concurrent connections to use for transfers
    210  -q,--quiet                               Suppress progress messages
    211  -r,--retry <count>                       Retry failed connection attempts
    212     --region <location>                   Location of bucket or container
    213     --synchronize <url> <directory>       Synchronize folders
    214     --throttle <bytes per second>         Throttle bandwidth
    215  -u,--username <username or access key>   Username
    216     --udt                                 Use UDT protocol if applicable
    217     --upload <url> <file>                 Upload file or folder recursively
    218  -V,--version                             Show version number and quit
    219  -v,--verbose                             Print transcript
    220  -y,--assumeyes                           Assume yes for all prompts
    221 }}}
    222 
    223 === URI ===
     133
     134URLs in arguments must be fully qualified. Paths can either denote a remote file (ftps://user@example.net/resource) or folder (ftps://user@example.net/directory/) with a trailing slash. You can reference files relative to your home directory with /~ (ftps://user@example.net/~/).
     135
     136
     137== Connection Profiles ==
     138You can install additional connection profiles in the [wiki:help/en/howto/cli#Profiles application support directory]. Use the `--profiles` option to reference a [wiki:help/en/howto/connection#ConnectionProf connection profile] file to use not installed in the standard location.
     139
     140 === URI ===
    224141
    225142The `<url>` argument for `--copy`, `--download`, `--upload`  and `--synchronize` must be fully qualified URIs with protocol, hostname and absolute remote path such as `ftp://<hostname>/<folder>/<file>` for a file or `ftp://<hostname>/<folder>/` for a directory. For cloud storage providers, reference the target container (aka bucket) name in the URI like `s3://bucketname/key`.
     143
     144* Windows Azure Storage
     145 azure://<container>/<key>
     146* Backblaze B2 Cloud Storage
     147 b2://<container>/<key>
     148* WebDAV (HTTP)
     149 dav://<hostname>/<folder>/<file>
     150* WebDAV (HTTPS)
     151 davs://<hostname>/<folder>/<file>
     152* DRACOON (Email Address)
     153 dracoon://<hostname>/<folder>/<file>
     154* Dropbox
     155 dropbox://<folder>/<file>
     156* mellifera.local
     157 file://<folder>/<file>
     158* FTP (File Transfer Protocol)
     159 ftp://<hostname>/<folder>/<file>
     160* FTP-SSL (Explicit AUTH TLS)
     161 ftps://<hostname>/<folder>/<file>
     162* Google Drive
     163 googledrive://<folder>/<file>
     164* Google Cloud Storage
     165 gs://<container>/<key>
     166* Microsoft OneDrive
     167 onedrive://<folder>/<file>
     168* Amazon S3
     169 s3://<container>/<key>
     170* SFTP (SSH File Transfer Protocol)
     171 sftp://<hostname>/<folder>/<file>
     172* Spectra S3 (HTTPS)
     173 spectralogic://<container>/<key>
     174* Rackspace Cloud Files (US)
     175 rackspace://<container>/<key>
     176* Swift (OpenStack Object Storage)
     177 swift://<container>/<key>
    226178
    227179=== Generic options ===
swiss made software