kxrr / nutstore-cli Goto Github PK
View Code? Open in Web Editor NEWA command-line interface for NutStore.
A command-line interface for NutStore.
can i directly upload/download a folder as a whole instead of handling individual files?
首先赞一个,命令行工具很好用,但是在通过对比dropbox的工具后,觉得还有一些改进的地方,比较有利于自动化,不知可否参考一下?
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
就是实时检测同步整个文件夹/文件
我现在是通过
while inotifywait -e close_write a.txt ;do nutstore-cli upload a.txt;done
来实现这个功能的,希望可以用
nutstore-cli sync a.txt
来替代
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.