Skip to content

Latest commit

 

History

History
44 lines (27 loc) · 974 Bytes

README.md

File metadata and controls

44 lines (27 loc) · 974 Bytes

seaf-share.py

python script for Seafile downloading/uploading share link

Usage scenario

Download/upload shared file or directory from/to Seafile shared link without using the web browser.

Features

  • Support download and upload shared link
  • Support password protected link
  • Support link for a single file or directory

Requirement

  • Python 2.7

To enable download/upload progress bar

  • For Ubuntu 16.04

sudo apt install python-pip

pip install clint

pip install requests

pip install requests_toolbelt

  • For Ubuntu 14.04

sudo apt-get install python-dev libffi-dev libssl-dev python-pip

pip install --upgrade pip

pip install clint

pip install --upgrade requests[security]

pip install requests_toolbelt

Example

  • Download a shared directory to current directory

python seaf-share.py get https://share_url ./

  • Upload the directory "test" to a shared link

python seaf-share.py put https://share_url ./test