Transfer files simply in shell
Project description
Transfer
Transfer files simply in shell.
upload and download powered by https://transfer.sh/.
Install
clone and install
git clone https://github.com/wyg1997/transfer.git
cd transfer
pip install .
from PyPI
pip install file-transfer-tools
Usage
Run transfer -h
in shell to see usage.
upload
transfer upload <directory/file>
upload with password
NOTE: You should install GnuPG firstly.
transfer upload -e <directory/file>
" or transfer upload --encrypt <directory/file>
" and type password
download
transfer download [-o <target_path>] <url>
download encrypted file
transfer download -d [-o <target_path>] <url>
paste
Paste the content of file to https://pastebin.mozilla.org/.
transfer paste [-h] [--expires {once,1h,1d,1w,21d}] [--type TYPE] target
NOTE: All supported TYPE see file type mapping.md. But you needn't assign the type in most situation, it will automatically choose a suitable type according file extension.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for file_transfer_tools-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8a7cb436a3e4ae9fe6b12cabdff25bb13829839ec5f6322aed68c58b9353ab1 |
|
MD5 | 4d65bc9fd6725eb6d802c6648b4770d3 |
|
BLAKE2b-256 | 45e776422fa3eb1bf294c98ffa2a8667922ca7382cbf8f04e1180ac4ec1f5cb5 |