Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 571 Bytes

README.md

File metadata and controls

34 lines (28 loc) · 571 Bytes

transfer.sh - bash script

Defines an alias to share file(s) and folder using transfer.sh

Installation

git clone https://github.com/winuxue/transfer.sh.git

cd transfer.sh

cat transfer.sh >> ~/.bashrc

. ~/.bashrc

optional requirements

  • xclip: allows copy the generated link to your clipboard.

Usage

  • for single file
transfer document.pdf
  • for two or more files
transfer document1.pdf document2.pdf
  • for files with spaces in it's name
transfer "document 1.pdf"
  • for directories
transfer mydir