{"id":17981673,"url":"https://github.com/rockymadden/transfer-cli","last_synced_at":"2025-06-13T11:09:46.014Z","repository":{"id":51609123,"uuid":"63353864","full_name":"rockymadden/transfer-cli","owner":"rockymadden","description":":aerial_tramway: Powerful transfer.sh CLI via pure bash","archived":false,"fork":false,"pushed_at":"2017-05-27T12:04:26.000Z","size":35,"stargazers_count":29,"open_issues_count":2,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-20T17:12:31.263Z","etag":null,"topics":["bash","cli","download","transfer","transfer-sh","upload"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rockymadden.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-07-14T16:52:48.000Z","updated_at":"2022-08-02T13:43:13.000Z","dependencies_parsed_at":"2022-08-22T13:10:50.828Z","dependency_job_id":null,"html_url":"https://github.com/rockymadden/transfer-cli","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rockymadden%2Ftransfer-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rockymadden%2Ftransfer-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rockymadden%2Ftransfer-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rockymadden%2Ftransfer-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rockymadden","download_url":"https://codeload.github.com/rockymadden/transfer-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245519966,"owners_count":20628808,"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","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":["bash","cli","download","transfer","transfer-sh","upload"],"created_at":"2024-10-29T18:11:42.785Z","updated_at":"2025-03-25T18:31:19.975Z","avatar_url":"https://github.com/rockymadden.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# transfer-cli \u003csub\u003e\u003csup\u003e| Powerful transfer.sh CLI via pure bash\u003c/sup\u003e\u003c/sub\u003e\n[![version](http://img.shields.io/badge/version-v0.2.0-blue.svg)](https://github.com/rockymadden/transfer-cli/releases)\n[![versioning](http://img.shields.io/badge/versioning-semver-blue.svg)](http://semver.org/)\n[![branching](http://img.shields.io/badge/branching-github%20flow-blue.svg)](https://guides.github.com/introduction/flow/)\n[![license](http://img.shields.io/badge/license-mit-blue.svg)](https://opensource.org/licenses/MIT)\n[![pm](http://img.shields.io/badge/pm-zenhub-blue.svg)](https://www.zenhub.io/)\n[![chat](http://img.shields.io/badge/chat-slack-blue.svg)](https://rockymadden-slack.herokuapp.com/)\n[![circleci](https://circleci.com/gh/rockymadden/transfer-cli.svg?style=shield)](https://circleci.com/gh/rockymadden/transfer-cli)\n\nA pure bash, pipe friendly, encryption capable, feature rich, command line interface for\n[transfer.sh](https://transfer.sh).\n\n__Upload samples:__\n\n```bash\n$ # From file:\n$ transfer upload /path/to/file.log\n$ transfer upload --file=/path/to/file.log\n$ transfer upload --file /path/to/file.log\n$ transfer upload -f /path/to/file.log\n\n$ # From directory:\n$ transfer upload /path\n$ transfer upload --file=/path\n$ transfer upload --file /path\n$ transfer upload -f /path\n\n$ # From pipe:\n$ ls | transfer upload --slug=ls.log\n$ ls | transfer upload --slug ls.log\n$ ls | transfer upload -s ls.log\n\n$ # With encryption (symmetric):\n$ transfer upload /path/to/file.log --encrypt\n$ transfer upload /path/to/file.log -e\n$ transfer upload /path/to/file.log --encrypt --password password\n\n$ # With custom slug:\n$ transfer upload /path/to/file.log custom.log\n$ transfer upload --file=/path/to/file.log --slug=custom.log\n$ transfer upload --file /path/to/file.log --slug custom.log\n$ transfer upload -f /path/to/file.log -s custom.log\n```\n\n__Download samples:__\n\n```bash\n$ # To file:\n$ transfer download https://transfer.sh/abcXYZ/file.log /tmp/file.log\n$ transfer download --url=https://transfer.sh/abcXYZ/file.log --file=/tmp/file.log\n$ transfer download --url https://transfer.sh/abcXYZ/file.log --file /tmp/file.log\n$ transfer download -u https://transfer.sh/abcXYZ/file.log -f /tmp/file.log\n\n$ # To pipe:\n$ transfer download https://transfer.sh/abcXYZ/file.tar.gz | tar xz\n$ transfer download --url=https://transfer.sh/abcXYZ/file.tar.gz | tar xz\n$ transfer download --url https://transfer.sh/abcXYZ/file.tar.gz | tar xz\n$ transfer download -u https://transfer.sh/abcXYZ/file.tar.gz | tar xz\n\n$ # With decryption (symmetric):\n$ transfer download https://transfer.sh/abcXYZ/file.log --decrypt\n$ transfer download https://transfer.sh/abcXYZ/file.log -d\n$ transfer download https://transfer.sh/abcXYZ/file.log --decrypt --password password\n```\n\n## Installation\n\n### Via `brew`:\n\n```bash\n$ brew tap rockymadden/rockymadden\n$ brew install transfer-cli\n```\n\n### Via `curl`:\n\n```bash\n$ curl -O https://raw.githubusercontent.com/rockymadden/transfer-cli/master/src/transfer\n$ chmod +x transfer\n```\n\n### Via `make`:\n\n```bash\n$ git clone git@github.com:rockymadden/transfer-cli.git\n$ cd transfer-cli\n$ make install bindir=/path/to/bin\n```\n\n## Usage\n```bash\n$ transfer --help\nUsage:\n  transfer download [\u003curl\u003e [file]]\n    [--decrypt|-d] [--file|-f \u003cfile\u003e] [--password|-p \u003cpassword\u003e] [--trace|-x]\n    [--url|-u \u003curl\u003e]\n\n  transfer upload [\u003cfile\u003e [slug]]\n    [--encrypt|-e] [--file|-f \u003cfile\u003e] [--password|-p \u003cpassword\u003e] [--slug|-s \u003cslug\u003e]\n    [--trace|-x]\n\nCommands:\n  download    Download from transfer.sh to file or piped output\n  upload      Upload a file, directory, or piped input to transfer.sh\n\nMore Information:\n  chat    https://rockymadden-slack.herokuapp.com\n  repo    https://github.com/rockymadden/transfer-cli\n```\n\n## License\n```\nThe MIT License (MIT)\n\nCopyright (c) 2016 Rocky Madden (https://rockymadden.com/)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frockymadden%2Ftransfer-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frockymadden%2Ftransfer-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frockymadden%2Ftransfer-cli/lists"}