Skip to content

maxint/kuaipan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kuaipan FUSE FileSystem

FUSE file system for kuaipan.cn. Access the cloud data in kuaipan.cn as local disk data.

Features

  • Access cloud data as local data without download data manually.
  • Local file cache to speed up access performance.
  • Support multiple accounts.

Install

pip install git+git://github.com/maxint/kuaipan [--user]

Note: use "--user" to install into user directory.

Requirements

  • fusepy
  • requests
  • requests-oauthlib

Usage

Mount your kuaipan.cn cloud driver to given mount directory:

kpfs <mount point>

Umount it:

umount <mount point>

Help:

kpfs -h

Debug

Logging is enabled by default. The log file locates at /tmp/kpfuse.log. If you has any issue, please upload the log file as attachment.

Local Cache

The account data and local cache files are stored at ~/.kpfuse. Cache files that elder than 30 days would be deleted. You could also clean the cache objects in ~/.kpfuse/<account email>/object/ manually, when local cache occupied too much disk space or cache objects are corrupted (when bugs existed).