1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82
|
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:
---------------
- python 2.6/2.7
- If you use python 2.6, you need to install python "argparse" module
see [https://pypi.python.org/pypi/argparse]
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
|