seafile Documentation

Beyond file syncing and sharing, a new way to organize your files with extensible file properties and flexible views

RAW Doc

Technical Documentation: haiwen/seafile

โ„น๏ธ Provenance: Multi-Tier Ingestion ยท CodeWiki Reference

Overview (`tests/sync-auto-test/README.md`)

Prerequisite

pip install -r requirements.txt

Run

  1. cp run.sh.template run.sh && cp test.conf.template test.conf
  2. modify PYTHONPATH, PATH in run.sh
    • note you must copy seafile related site_packages to test machine and point the path in PYTHONPATH
    • note you must point seaf-daemon, ccnet file path in PATH
  3. modify server_url, user, password in test.conf
  4. start seahub server
  5. execute ./run.sh test

Doc Cli Readme (`doc/cli-readme.txt`)

Seafile command line client
===========================

For the full manual about seafile CLI client, see [https://github.com/haiwen/seafile/wiki/Seafile-CLI-client]

Table of Contents

1 Requirement:
2 Get Started
2.1 Initialize
2.2 Start seafile client
2.3 Download a library from a server
2.4 stop seafile client
3 Uninstall

1 Requirement:

2 Get Started

2.1 Initialize

mkdir ~/seafile-client
./seaf-cli init -d ~/seafile-client

2.2 Start seafile client

./seaf-cli start

2.3 Download a library from a server

First retrieve the library id by browsing on the server -> it's in the url after "/repo/"

Then:

seaf-cli download -l "the id of the library" -s "the url + port of server" -d "the folder where the library folder will be downloaded" -u "username on server" [-p "password"]

seaf-cli status # check status of ongoing downloads

Name Status Progress

Apps downloading 9984/10367, 9216.1KB/s

2.4 stop seafile client

./seaf-cli stop

3 Uninstall

First stop the client:

seaf-cli stop

Then remove the data:

rm -rf ~/.seafile-client

rm -rf ~/.ccnet # note this should not be erased if you run the server on the same host

rm -rf seafile-cli-1.5.3


--- METRICS ---