unofficial command-line client for https://github.com/dutchcoders/transfer.sh (https://transfer.sh)
>transfersh file.txt
File file.txt saved at: https://transfer.sh/XXXXX/file.txt
>transfersh -p file.txt
Upload: [#####################################-----------] 75.68%
File file.txt saved at: https://transfer.sh/XXXXX/file.txt
>transfersh -n newname.txt file.txt
File file.txt saved at: https://transfer.sh/XXXXX/newname.txt
Upload to your transfersh server instead of https://transfer.sh
>transfersh -sn upload.server.name filename
File saved at: https://upload.server.name/XXXXX/filename
>transfersh -r /xx/xy/
File /xx/xy/TEST.txt saved at: https://transfer.sh/XXXXX/TEST.txt
File /xx/xy/yy/testtest.txt saved at: https://transfer.sh/XXXXX/testtest.txt
>transfersh -r ./ -n test.txt
File ./TEST.txt saved at: https://transfer.sh/XXXXX/test.txt
File ./testtest.txt saved at: https://transfer.sh/XXXXX/test.txt
>transfersh -rtg ./ -n myupload-as-tar-gz.tar.gz
File saved at: https://transfer.sh/XXXXX/myupload-as-tar-gz.tar.gz
>transfersh -rt ./ -n myupload-as-tar.tar
File saved at: https://transfer.sh/XXXXX/myupload-as-tar.tar
>transfersh -rz ./ -n myupload-as-zip.zip
File saved at: https://transfer.sh/XXXXX/myupload-as-zip.zip
>transfersh -r ./ -s URLS.txt
File ./TEST.txt saved at: https://transfer.sh/XXXXX/test.txt
File ./testtest.txt saved at: https://transfer.sh/XXXXX/test.txt
>transfersh -r ./ -s URLS.txt
File ./TEST.txt saved at: https://transfer.sh/XXXXX/test.txt
File ./testtest.txt saved at: https://transfer.sh/XXXXX/test.txt
File /tmp/transfersh-savefile.txt saved at: https://transfer.sh/XXXXX/transfersh-savefile.txt
Check file for virus with Virustotal
>transfersh -vt filename
Virustotal Report is available here: https://www.virustotal.com/file/....
(Out of date at the moment!)
1. echo "deb [trusted=yes] http://mirror.alpix.eu/ debianpkg/" >> /etc/apt/sources.list
2. apt-get update && apt-get upgrade
3. apt-get install transfersh -y
If you can access the AUR with your package manager (https://aur.archlinux.org/):
e.g. yaourt as package manager:
1. yaourt -S transfersh
If not do it manually
1. curl -L -O https://aur.archlinux.org/cgit/aur.git/snapshot/transfersh.tar.gz
2. tar xf transfersh.tar.gz
3. cd transfersh && makepkg -si
*Last step: Vote on aur if the package is useful for you. <3*
1. Download lates release of transfersh
2. Untar/unzip it
3. Place the transfersh file in /usr/bin/
4. Set the right user rights with chmod
5. Make sure you have installed python
6. Install the requirements
6.1 sudo pip install requests
6.2 Olny needed for progress bar:
sudo pip install requests_toolbelt
If you want to use the progress bar (-p), you need to install requests_toolbelt!
sudo pip install requests_toolbelt
Just create a Pull request...