Skip to content

python script for Seafile downloading/uploading share link

Notifications You must be signed in to change notification settings

twei7/seaf-share

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

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

About

python script for Seafile downloading/uploading share link

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages