2010-01-30

Slitaz -- dropbox


tux@slitaz:~$ tazpkg info dropbox

Tazpkg information
================================================================================
Package : dropbox
Version : 0.7.97
Category : non-free
Short desc : Dropbox daemon and client fro online storage.
Maintainer :
Depends : python
Web site : http://www.getdropbox.com/
================================================================================

tux@slitaz:~$ tail -n 26 /usr/bin/get-dropbox | head -6
# Symling to have Dropbox in PATH and fake nautilus
cd $PACKAGE-$VERSION/fs/usr/bin
rm -f dropboxd nautilus
ln -s ../lib/dropbox/dropboxd .
ln -s /usr/bin/pcmanfm nautilus

tux@slitaz:~$ ls -l Dropbox
-rw-r--r-- 1 tux tux 1268 Jan 9 14:47 Getting Started.rtf
drwxr-xr-x 3 tux tux 4096 Jan 31 10:31 Photos/
drwxr-xr-x 2 tux tux 4096 Jan 31 11:00 pic/
drwxr-xr-x 2 tux tux 4096 Jan 31 10:31 Public/
drwxr-xr-x 2 tux tux 4096 Jan 31 10:31 slitaz/
drwxr-xr-x 2 tux tux 4096 Jan 31 10:59 新資料夾/
tux@slitaz:~$

tux@slitaz:~$ python dbreadconfig.py
email = ****@****
host_id =****
[..]

tux@slitaz:~$ cd Dropbox/
tux@slitaz:~/Dropbox$ python ~/dropbox.py
Dropbox command-line interface

commands:

status get current status of the dropboxd
help provide help
puburl get public url of a file in your dropbox
stop stop dropboxd
start start dropboxd
filestatus get current sync status of one or more files
ls list directory contents with current sync status

tux@slitaz:~/Dropbox$ python ~/dropbox.py status
Idle
tux@slitaz:~/Dropbox$ python ~/dropbox.py filestatus
slitaz: up to date
Public: up to date
Getting Started.rtf: up to date
.dropbox: unwatched
Photos: up to date
pic: up to date

tux@slitaz:~/Dropbox$ python ~/dropbox.py ls -l
Getting Started.rtf
Photos
pic
Public
slitaz
新資料夾



http://wiki.dropbox.com/TipsAndTricks/TextBasedLinuxInstall

How To Install Dropbox In An Entirely Text Based Linux Environment

--ImportError: No module named sqlite--
.