2017 © Pedro Peláez
 

library composer-transfer

Easy and fast file sharing from the command-line brought to Composer community.

image

tamtamchik/composer-transfer

Easy and fast file sharing from the command-line brought to Composer community.

  • Friday, July 8, 2016
  • by tamtamchik
  • Repository
  • 1 Watchers
  • 7 Stars
  • 19 Installations
  • Shell
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

composer-transfer

Latest Version on Packagist Total Downloads ![Build Status][ico-build] ![Software License][ico-license], (*1)

Easy and fast file sharing from the command-line brought to Composer community. Based on https://transfer.sh, (*2)

Features: - Made for use with shell - Share files with an URL - Upload up to 10 GB - Files stored for 14 days - Encrypt your files - Preview your files in the browser - For free, (*3)

Installation

Install package globally:, (*4)

$ composer global require tamtamchik/composer-transfer

Note! Make sure to place the ~/.composer/vendor/bin directory (or the equivalent directory for your OS) in your PATH so the transfer executable can be located by your system. Simply add this directory to your PATH in your ~/.bashrc (or ~/.bash_profile) like this:, (*5)

$ echo "export PATH=~/.composer/vendor/bin:$PATH" >> ~/.bashrc
$ source ~/.bashrc

Usage

Now uploading your file to the web is as easy as running transfer command:, (*6)

$ transfer file.txt
######################################################################## 100.0%
https://transfer.sh/XXXXX/file.txt

Or using it with a pipe (real life example):, (*7)

$ cat /var/log/nginx/access.log | cut -d ' ' -f 1 | logtop | transfer access-statistics.txt
######################################################################## 100.0%
https://transfer.sh/XXXXX/access-statistics.txt

Or for folders (require zip on server):, (*8)

$ transfer /tmp/some-folder
######################################################################## 100.0%
https://transfer.sh/XXXXX/some-folder.zip

Creators

Original service:
Composer package:

TODO

Original https://transfer.sh code and documentation copyright 2011-2016 Remco Verhoef., (*9)

Code released under the MIT license., (*10)

The Versions

08/07 2016

dev-master

9999999-dev

Easy and fast file sharing from the command-line brought to Composer community.

  Sources   Download

MIT

by Remco Verhoef

06/07 2016

1.2.0

1.2.0.0

Easy and fast file sharing from the command-line brought to Composer community.

  Sources   Download

MIT

by Remco Verhoef

05/07 2016

1.1.0

1.1.0.0

Easy and fast file sharing from the command-line brought to Composer community.

  Sources   Download

MIT

by Remco Verhoef

04/07 2016

1.0.0

1.0.0.0

Easy and fast file sharing from the command-line brought to Composer community.

  Sources   Download

MIT

by Remco Verhoef