{"id":13983815,"url":"https://github.com/scaleway/c14-cli","last_synced_at":"2025-07-21T23:31:33.000Z","repository":{"id":62422816,"uuid":"59498401","full_name":"scaleway/c14-cli","owner":"scaleway","description":"[EOL] 💻  Manage your C14 Online Cold Storage  from Command Line ","archived":true,"fork":false,"pushed_at":"2020-12-01T13:33:06.000Z","size":18418,"stargazers_count":89,"open_issues_count":0,"forks_count":21,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-03-22T15:49:54.210Z","etag":null,"topics":["coldstorage","glacier","glacier-cli","scaleway"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scaleway.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-05-23T16:17:22.000Z","updated_at":"2023-07-03T16:17:09.000Z","dependencies_parsed_at":"2022-11-01T17:33:20.398Z","dependency_job_id":null,"html_url":"https://github.com/scaleway/c14-cli","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/scaleway/c14-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scaleway%2Fc14-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scaleway%2Fc14-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scaleway%2Fc14-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scaleway%2Fc14-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scaleway","download_url":"https://codeload.github.com/scaleway/c14-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scaleway%2Fc14-cli/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266403045,"owners_count":23923403,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-21T11:47:31.412Z","response_time":64,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["coldstorage","glacier","glacier-cli","scaleway"],"created_at":"2024-08-09T05:01:56.680Z","updated_at":"2025-07-21T23:31:32.689Z","avatar_url":"https://github.com/scaleway.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# C14 CLI\n\nInteract with [Online C14](https://www.online.net/en/c14) API from the command line.\n\n---\n\n**⚠️ C14 Classic has been discontinued**\n\n**Discover our new [C14 Cold Storage service on Scaleway Elements](https://www.scaleway.com/en/c14-cold-storage/), compatible with S3 Glacier!**\n\n---\n\n![Online C14 logo](https://raw.githubusercontent.com/scaleway/c14-cli/master/assets/logo.png)\n\n## Table of Contents\n\n- [Table of Contents](#table-of-contents)\n- [Overview](#overview)\n- [Install](#install)\n- [Usage](#usage)\n  - [Login](#login)\n  - [Commands](#commands)\n    - [`c14 create`](#c14-create)\n    - [`c14 freeze`](#c14-freeze)\n    - [`c14 ls`](#c14-ls)\n    - [`c14 help`](#c14-help)\n    - [`c14 login`](#c14-login)\n    - [`c14 files`](#c14-files)\n    - [`c14 rename`](#c14-rename)\n    - [`c14 remove`](#c14-remove)\n    - [`c14 unfreeze`](#c14-unfreeze)\n    - [`c14 upload`](#c14-upload)\n    - [`c14 download`](#c14-download)\n    - [`c14 bucket`](#c14-bucket)\n    - [`c14 version`](#c14-version)\n    - [`c14 migrate`](#c14-migrate)\n- [Development](#development)\n  - [Hack](#hack)\n- [License](#license)\n\n## Overview\n\nA command-line tool to manage your C14 storage easily\n\n## Install\n\nGrab your binary on the [releases](https://github.com/scaleway/c14-cli/releases) page.\n\n## Usage\n\n```console\n$ c14\nUsage: c14 [OPTIONS] COMMAND [arg...]\n\nInteract with C14 from the command line.\n\nOptions:\n  -D, --debug        Enable debug mode\n  -V, --verbose      Enable verbose mode\n\nCommands:\n    create    Create a new archive\n    files     List the files of an archive\n    freeze    Lock an archive\n    help      Help of the c14 command line\n    login     Log in to Online API\n    ls        List the archives\n    rename    Rename an archive\n    remove    Remove an archive\n    unfreeze  Unlock an archive\n    upload    Upload your file or directory into an archive\n    bucket    Displays all information of bucket\n    version   Show the version information\n    download  Download your file or directory from an archive\n    migrate   Migration helper to S3 Cold Storage\n\nRun 'c14 COMMAND --help' for more information on a command.\n```\n\n### Login\n\n```console\n$ c14 login\nPlease opens this link with your browser: https://console.online.net/oauth/v2/device/usercode\nThen copy paste the code XXXXXX\n$\n```\n\n### Commands\n\n#### `c14 create`\n\n```console\nUsage: c14 create [OPTIONS]\n\nCreate a new archive, by default with a random name, standard storage (0.0002€/GB/month), automatic locked in 7 days and your datas will be stored in the choosen platform (by default at DC4).\n\nOptions:\n  -c, --crypto=true     Enable aes-256-bc cryptography, enabled by default.\n  -d, --description=\"\"  Assigns a description\n  -h, --help=false      Print usage\n  -k, --sshkey=\"\"       A list of UUIDs corresponding to the SSH keys (separated by a comma) that will be used for the connection.\n  -l, --large=false     Ask for a large bucket\n  -n, --name=\"\"         Assigns a name\n  -P, --platform=2      Select the platform (by default at DC4)\n  -p, --parity=standard Specify a parity to use\n  -q, --quiet=false     Don't display the waiting loop\n  -s, --safe=\"\"         Name of the safe to use. If it doesn't exists it will be created.\n\nExamples:\n        $ c14 create\n        $ c14 create --name \"MyBooks\" --description \"hardware books\" -P 1\n        $ c14 create --name \"MyBooks\" --description \"hardware books\" --safe \"Bookshelf\" --platform 2\n        $ c14 create --sshkey \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx,xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n\n```\n\n#### `c14 freeze`\n\n```console\nUsage: c14 freeze [OPTIONS] [ARCHIVE]+\n\nLock an archive, your archive will be stored in highly secure Online data centers and will stay available On Demand (0.01€/GB).\n\nOptions:\n  -h, --help=false      Print usage\n  --nowait=false\n  -q, --quiet=false\n\nExamples:\n        $ c14 freeze 83b93179-32e0-11e6-be10-10604b9b0ad9\n```\n\n#### `c14 ls`\n\n```console\nUsage: c14 ls [OPTIONS] [ARCHIVE]*\n\nDisplays the archives, by default only the NAME, STATUS, UUID.\n\nOptions:\n  -a, --all=false       Show all information on archives (size,parity,creationDate,description)\n  -h, --help=false      Print usage\n  -p, --platform=false  Show the platforms\n  -q, --quiet=false     Only display UUIDs\n  -t, --ts=false        Show unix timestamp of archives (to script deletion for instance)\n\nExamples:\n        $ c14 ls\n        $ c14 ls -a\n        $ c14 ls -t\n\n        archives older than one week\n        $ c14 ls -t | awk '$NF \u003c '$(date -d '1 week ago' +%s)' { print }'\n```\n\n#### `c14 help`\n\n```console\nUsage: c14 help [COMMAND]\n\nHelp prints help information about c14 and its commands.\nBy default, help lists available commands.\nWhen invoked with a command name, it prints the usage and the help of\nthe command.\n\nOptions:\n  -h, --help=false      Print usage\n\nExamples:\n        $ c14 help\n        $ c14 help create\n```\n\n#### `c14 login`\n\n```console\nUsage: c14 login\n\nGenerates a credentials file in $CONFIG/c14-cli/c14rc.json\ncontaining informations to generate a token.\n\nOptions:\n  -h, --help=false      Print usage\n\nExamples:\n    $ c14 login\n```\n\n#### `c14 files`\n\n```console\nUsage: c14 files ARCHIVE\n\nList the files of an archive, displays the name and size of files\n\nOptions:\n  -h, --help=false      Print usage\n\nExamples:\n        $ c14 files 83b93179-32e0-11e6-be10-10604b9b0ad9\n```\n\n#### `c14 rename`\n\n```console\nUsage: c14 rename ARCHIVE new_name\n\nRename an archive.\n\nOptions:\n  -h, --help=false      Print usage\n\nExamples:\n        $ c14 rename 83b93179-32e0-11e6-be10-10604b9b0ad9 new_name\n        $ c14 rename old_name new_name\n```\n\n#### `c14 remove`\n\n```console\nUsage: c14 remove [ARCHIVE]+\n\nRemove an archive\n\nOptions:\n  -h, --help=false      Print usage\n\nExamples:\n        $ c14 remove 83b93179-32e0-11e6-be10-10604b9b0ad9 2d752399-429f-447f-85cd-c6104dfed5db\n```\n\n#### `c14 unfreeze`\n\n```console\nUsage: c14 unfreeze [OPTIONS] [ARCHIVE]+\n\nUnlock an archive, extraction of the archive's data (0.01€/GB).\n\nOptions:\n  -h, --help=false      Print usage\n  --nowait=false\n  -q, --quiet=false\n\nExamples:\n        $ c14 unfreeze 83b93179-32e0-11e6-be10-10604b9b0ad9\n```\n\n#### `c14 upload`\n\n```console\nUsage: c14 upload [DIR|FILE]* ARCHIVE\n\nUpload your file or directory into an archive, use SFTP protocol.\n\nOptions:\n  -h, --help=false      Print usage\n  -n, --name=\"\"         Assigns a name (only with tar method)\n\nExamples:\n        $ c14 upload\n        $ c14 upload test.go 83b93179-32e0-11e6-be10-10604b9b0ad9\n        $ c14 upload /upload 83b93179-32e0-11e6-be10-10604b9b0ad9\n        $ tar cvf - /upload 2\u003e /dev/null | ./c14 upload --name \"file.tar.gz\" fervent_austin\n```\n\n#### `c14 download`\n\n```console\nUsage: c14 download [DIR|FILE]* ARCHIVE\n\nDownload your file or directory into an archive, use SFTP protocol.\n\nOptions:\n  -h, --help=false      Print usage\n\nExamples:\n        $ c14 download\n        $ c14 download file 83b93179-32e0-11e6-be10-10604b9b0ad9\n```\n\n#### `c14 bucket`\n\n```console\nUsage: c14 bucket [OPTIONS] [ARCHIVE]*\n\nDisplays (JSON or tab output) all information of bucket.\n\nOptions:\n  -h, --help=false      Print usage\n  -p, --pretty=\"\"       Show all information in tab (default json output)\n\nExamples:\n        $ c14 bucket\n        $ c14 bucket 83b93179-32e0-11e6-be10-10604b9b0ad9\n        $ c14 bucket -p 83b93179-32e0-11e6-be10-10604b9b0ad9\n```\n\n#### `c14 version`\n\n```console\nUsage: c14 version\n\nShow the version information.\n\nOptions:\n  -h, --help=false      Print usage\n\nExamples:\n        $ c14 version\n```\n\n#### `c14 migrate`\n\n```console\nUsage: c14 migrate [OPTIONS] [ACTION] [ARCHIVE]\n\nMigrate an archive to Cold Storage\n\n[ACTION] is one of [precheck, generate-rclone-config, rclone-sync]\n\nOptions:\n  -h, --help=false      Print usage\n  --s3-access-key=\"\"    aws_access_key_id\n  --s3-bucket=\"\"        Destination bucket name\n  --s3-create-bucket=false Prefix in destination bucket\n  --s3-prefix=\"\"        Prefix in destination bucket\n  --s3-profile=\"\"       aws_profile\n  --s3-secret-key=\"\"    aws_secret_access_key\n\nExamples:\n        $ c14 migrate --s3-access-key xxx --s3-secret-key yyy precheck d28d0f7b-4524-4f7c-a7a3-7341503e9110\n        $ c14 migrate --s3-profile scw-par generate-rclone-config d28d0f7b-4524-4f7c-a7a3-7341503e9110\n```\n\n---\n\n## Development\n\nFeel free to contribute! 😃🍻\n\n### Hack\n\n1. [Install Go](https://golang.org/doc/install)\n2. Ensure you have `$GOPATH` and `$PATH` well configured, something like:\n   - `export GOPATH=$HOME/go`\n   - `export PATH=$PATH:$GOPATH/bin`\n3. Fetch the project: `git clone https://github.com/scaleway/c14-cli.git`\n4. Go to c14-cli directory: `cd c14-cli`\n5. Hack: `vim`\n6. Build: `make`\n7. Run: `./c14`\n\n## License\n\n[MIT](https://github.com/scaleway/c14-cli/blob/master/LICENSE.md)\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscaleway%2Fc14-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscaleway%2Fc14-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscaleway%2Fc14-cli/lists"}