Defines an alias to share file(s) and folder using transfer.sh
git clone https://github.com/winuxue/transfer.sh.git
cd transfer.sh
cat transfer.sh >> ~/.bashrc
. ~/.bashrc
- xclip: allows copy the generated link to your clipboard.
- 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