Giter Site home page Giter Site logo

nutstore-cli's People

Contributors

kxrr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

nutstore-cli's Issues

cannot operate folder?

can i directly upload/download a folder as a whole instead of handling individual files?

小小的建议

首先赞一个,命令行工具很好用,但是在通过对比dropbox的工具后,觉得还有一些改进的地方,比较有利于自动化,不知可否参考一下?

  1. dropbox有一个初始化流程,会在当前用户home下建立一个.dropbox文件,里面记录了cmd需要的参数,比如key和email
  2. 之后命令行只需要直接执行xxx upload loacl_path remote_path 即可

login failed

Traceback (most recent call last):
File "cli.py", line 28, in cli
client.check_conn()
File "/home/albert/.local/lib/python2.7/site-packages/nutstore_cli/client/base.py", line 84, in check_conn
self.ls()
File "/home/albert/.local/lib/python2.7/site-packages/nutstore_cli/client/base.py", line 52, in ls
return self._client.ls(self.np.real_path)
File "/home/albert/.local/lib/python2.7/site-packages/easywebdav/client.py", line 176, in ls
response = self._send('PROPFIND', remote_path, (207, 301), headers=headers)
File "/home/albert/.local/lib/python2.7/site-packages/easywebdav/client.py", line 100, in _send
raise OperationFailed(method, path, expected_code, response.status_code)
OperationFailed: Failed to list directory "/dav/home/albert/nutstore_test".
Operation : PROPFIND /dav/home/albert/nutstore_test
Expected code : 207 UNKNOWN, 301 Moved Permanently
Actual code : 409 Conflict

建议添加sync功能

就是实时检测同步整个文件夹/文件
我现在是通过

while inotifywait -e close_write a.txt ;do nutstore-cli upload a.txt;done

来实现这个功能的,希望可以用

nutstore-cli sync a.txt

来替代

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.