Copy files from/to Cells
Copy files from the client machine to your Pydio Cells server instance (and vice versa).
To differentiate local from remote, prefix remote paths with 'cells://' or with 'cells//' (without the column) if you have installed the completion and intend to use it. For the time being, copy can only be performed from the client machine to the server or the otherway round: it is not yet possible to copy from one Cells instance to another.
Note that you can rename the file or base folder that you upload/download if:
- last part of the target path is a new name that does not exists,
- parent path exists and is a folder at target location.
1/ Uploading a file to the server: $ ./cec scp ./README.md cells://common-files/ Copying ./README.md to cells://common-files/ Waiting for file to be indexed... File correctly indexed
2/ Download a file from server: $ ./cec scp cells://personal-files/funnyCat.jpg ./ Copying cells://personal-files/funnyCat.jpg to /home/pydio/downloads/
3/ Download a file changing its name - remember: this will fail if a 'cat2.jpg' file already exists: $ ./cec scp cells://personal-files/funnyCat.jpg ./cat2.jpg Copying cells://personal-files/funnyCat.jpg to /home/pydio/downloads/
./cec scp [flags]
-h, --help help for scp
-q, --quiet Reduce the amount of logs
Options inherited from parent commands
--config string Location of Cells Client's config files, usually /home/teamcity/.config/pydio/cells-client
--login string The user login, for Client auth only
--no_cache Force token refresh at each call. This might slow down scripts with many calls
--password string The user password, for Client auth only
--skip_keyring Explicitly tell the tool to *NOT* try to use a keyring, even if present. Warning: sensitive information will be stored in clear text
--skip_verify By default the Cells Client verifies the validity of TLS certificates for each communication. This option skips TLS certificate verification
-t, --token string A valid Personal Access Token (PAT)
-u, --url string The full URL of the target server
- ./cec - Connect to a Pydio Cells server using the command line