{"id":34976830,"url":"https://github.com/apiheat/akamai-cli-netstorage","last_synced_at":"2026-05-23T02:03:31.736Z","repository":{"id":62866766,"uuid":"118896233","full_name":"apiheat/akamai-cli-netstorage","owner":"apiheat","description":"Akamai Netstorage CLI","archived":false,"fork":false,"pushed_at":"2023-10-21T14:38:37.000Z","size":48,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-03-29T22:30:20.947Z","etag":null,"topics":["akamai","akamai-cli","netstorage"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/apiheat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-01-25T10:07:06.000Z","updated_at":"2025-01-10T03:25:50.000Z","dependencies_parsed_at":"2025-09-18T10:59:49.378Z","dependency_job_id":"b56f860d-81c7-4b44-a756-e5628e6ab6a2","html_url":"https://github.com/apiheat/akamai-cli-netstorage","commit_stats":null,"previous_names":["partamonov/akamai-cli-netstorage"],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/apiheat/akamai-cli-netstorage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apiheat%2Fakamai-cli-netstorage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apiheat%2Fakamai-cli-netstorage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apiheat%2Fakamai-cli-netstorage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apiheat%2Fakamai-cli-netstorage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apiheat","download_url":"https://codeload.github.com/apiheat/akamai-cli-netstorage/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apiheat%2Fakamai-cli-netstorage/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33379721,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-23T01:21:08.577Z","status":"online","status_checked_at":"2026-05-23T02:00:05.530Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["akamai","akamai-cli","netstorage"],"created_at":"2025-12-27T00:18:49.506Z","updated_at":"2026-05-23T02:03:26.714Z","avatar_url":"https://github.com/apiheat.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Akamai CLI for Netstorage\n*NOTE:* This tool is intended to be installed via the Akamai CLI package manager, which can be retrieved from the releases page of the [Akamai CLI](https://github.com/akamai/cli) tool.\n\n### Local Install, if you choose not to use the akamai package manager\nIf you want to compile it from source, you will need Go 1.9 or later, and the [Glide](https://glide.sh) package manager installed:\n1. Fetch the package:\n   `go get https://github.com/partamonov/akamai-cli-netstorage`\n1. Change to the package directory:\n   `cd $GOPATH/src/github.com/partamonov/akamai-cli-netstorage`\n1. Install dependencies using Glide:\n   `glide install`\n1. Compile the binary:\n   `go build -ldflags=\"-s -w -X main.version={{.Version}}\" -o akamai-netstorage`\n\n### Credentials\nIn order to use this configuration, you need to:\n* Set up your credential files as described in the [authorization](https://developer.akamai.com/introduction/Prov_Creds.html) and [credentials](https://developer.akamai.com/introduction/Conf_Client.html) sections of the getting started guide on developer.akamai.com.\n\nExpects `netstorage` section in .edgerc\n\n```\n[netstorage]\nhostname = XXXXXXXX\nkey = XXXXXXX\nkeyname = XXXXXXXX\ncpcode = 9999999\npath = /some/path or \"\"\n```\n\n## Overview\nThe Akamai NetStorage Kit is a set of go libraries that wraps Akamai's {OPEN} APIs to help simplify common netstorage tasks.\n\n## Main Usage command\n```shell\n# akamai netstorage\nNAME:\n   akamai-netstorage - A CLI to interact with Akamai NetStorage\n\nUSAGE:\n   akamai-netstorage [global options] command [command options] [arguments...]\n\nVERSION:\n   X.X.X\n\nAUTHORS:\n   Petr Artamonov\n   Rafal Pieniazek\n\nCOMMANDS:\n     du                  Show disk usage of `DIRECTORY`\n     empty-directory, e  Erase all files from `DIRECTORY`, non empty directories inside target `DIRECTORY` will be ignored\n     get, g              Download from `OBJECT`\n     list, ls            List `OBJECT` content in NetStorage\n     mkdir, md           Create `DIRECTORY` recursively\n     put                 Upload files from `DIRECTORY`\n     rm, delete          Delete `FILE`\n     rmdir               Delete `DIRECTORY`\n     help, h             Shows a list of commands or help for one command\n\nGLOBAL OPTIONS:\n   --config FILE, -c FILE   Location of the credentials FILE (default: \"/Users/partamonov/.edgerc\") [$AKAMAI_EDGERC]\n   --cpcode CP CODE         CP CODE to use\n   --no-color               Disable color output\n   --section NAME, -s NAME  NAME of section to use from credentials file (default: \"netstorage\") [$AKAMAI_EDGERC_NETSTORAGE_SECTION]\n   --help, -h               show help\n   --version, -v            print the version\n```\n\n### DU command\n\nIf you will DU not directory, then the output will be `ls`\n```shell\n\u003e akamai netstorage du /test\n# Directory               Files   Size\n/\u003cCPCODE\u003e/test            10      4.3 MB\n```\n\n```shell\n\u003e akamai netstorage du /test/icons.png\nType    Name        Mtime                           Size     MD5\nFile:   icons.png   2018-02-12 10:59:30 +0100 CET   3.4 kB   055531dc54f773403865a704e0bdae21\n```\n\n### Empty-directory command\n\nPurpose of this command is to delete all files and empty directories inside target `DIRECTORY`. This is a safety measure to prevent deletion of unexpected content.\nIf you want true recursive behaviour than open support case for Akamai to enable Quick Deletion for required CP Code.\nUse `akamai netstorage rmdir --recursively [PATH]` command.\n\n```shell\n\u003e akamai netstorage empty-directory test/super/tttt\n```\n\n### Get command\n```shell\n\u003e akamai-netstorage get [command options] --to /local/path [OBJECT]\n```\n\nPurpose of this command is to download `OBJECT` from NetStorage.\nIf given `OBJECT` is directory, then all files will be downloaded. Directories inside target path won't be touched.\n\nIf you have such structure:\n- dir1\n  - dir2\n    - file2\n  - dir3\n  - file1\n\nThen if you will run `akamai netstorage get dir1`, file1 will be downloaded to `~/\u003cCPCODE\u003e/dir1`.\n\nTo set local path for download, please use `--to` option\n\n### List command\n\nPurpose of this command is to list directory content or object information\n\n```shell\n\u003e akamai netstorage ls\nDirectory: /225406\nType   Name      Mtime                            Size   MD5\nDIR:   test     2016-07-28 11:41:38 +0200 CEST\nDIR:   test2    2018-01-31 07:05:58 +0100 CET\n```\n\n### Mkdir command\n\nPurpose of this command is to create directories in Netstorage\n\n### Put command\n\nPurpose of this command is to put `OBJECT` to Netstorage. You can upload all files from given directory, if you will specify directory as source.\n\n```shell\n\u003e akamai netstorage put --from /tmp/www /CPCODE/test\n```\n\n### Rm command\n\nPurpose of this command is to delete `File` in Netstorage\n\n### Rmdir command\n\nPurpose of this command is to delete `Directory` in Netstorage","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapiheat%2Fakamai-cli-netstorage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapiheat%2Fakamai-cli-netstorage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapiheat%2Fakamai-cli-netstorage/lists"}