GithubHelp home page GithubHelp logo

qshell's People

Contributors

abel-huang avatar andrewfunny avatar ankadada avatar bachue avatar bernieyangmh avatar carlji avatar e06084 avatar jemygraw avatar liangchaoboy avatar lidaobing avatar longbai avatar loyachen avatar ma6174 avatar mei-zhao avatar momaek avatar morefreeze avatar qiniu-bot avatar sxci avatar t1anz0ng avatar tonycai653 avatar wangkechun avatar wangkuiyi avatar xen0n avatar xushiwei avatar xwen-winnie avatar yangsen-qn avatar yinyanlu avatar zinsserzh avatar zju-xjh 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  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  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  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

qshell's Issues

m3u8没有create

现在有m3u8delete和m3u8replace,却没有个创建m3u8列表的功能。

qshell batchrename貌似没有用

$ qshell batchrename liyang oldFile.txt
<DANGER> Input gjdjdj to confirm operation: gjdjdj
All Renamed!

oldFile.txt
/123/123.png  /234/234.png

All Renamed但是文件没有被rename

qupload错误 Invalid cache line

qshell qupload 300 qnconfig.cnf

2016/07/11 21:34:32 [INFO][qshell] qupload.go:232: Use the last cached local sync dir file list ...
2016/07/11 21:34:32 [ERROR][qshell] qupload.go:340: Invalid cache line 14 14412684965838689

----------Upload Result----------
Total: 0
Success: 0
Failure: 0
Skipped: 0

Duration: 5.370575ms

在别的目录调用qshell报错找不到account.json

如果我把qshell放置在/root/下,并且配置了account....

当我在/root/a/目录下执行程序就报错..

Open account file failed, open .qshell/account.json: no such file or directory ,please use account to set AccessKey and SecretKey first

~/qshell rput backup nginx_20160213.tar.gz ~/backup/nginx_20160213.tar.gz http://up.qiniug.com

qdownload windows 小总是报授权错误 401

同样的配置,在 mac 下可以,在windows下就会报 401 错误,下载下来的只有文件夹,没有文件。windows 只是 dest_dir 不一样, 我配置的是 "D:\svnbak",使用 1.8.0 版本。

{
    "dest_dir"  :   "/Users/xxx/Downloads/svn",
    "bucket"    :   "svnbak",
    "domain"    :   "http://svnbak.xxx.com",
    "access_key"    :   "xxx",
    "secret_key"    :   "xxx",
    "is_private"    :   true
}

使用 quopload, 每次都会把所有文件重新上传一遍.

{
   "src_dir"            :   "`隐去`",
   "access_key"         :   "`隐去`",
   "secret_key"         :   "`隐去`",
   "bucket"             :   "`隐去`",
   "file_list"          :   "/Users/mac/Documents/Qiniu_Tool/qshell-v1.8.1/ao.md",
   "zone"               :   "nb",
   "ignore_dir"         :   false,
   "key_prefix"         :   "",
   "up_host"            :   "http://upload.qiniu.com",
   "overwrite"          :   true,
   "check_exists"       :   true,
   "check_hash"         :   false,
   "check_size"         :   true,
   "skip_file_prefixes" :   ".git,bin",
   "skip_path_prefixes" :   "hello/,temp/",
   "skip_fixed_strings" :   ".svn",
   "skip_suffixes"      :   ".DS_Store,.exe",
   "rescan_local"       :   false,
   "log_file"           :   "upload.log",
   "log_level"          :   "info"
}

以上为配置.

尝试过的解决办法...

预测可能问题为:

  1. rescan_local: 已经反复设置为 true, false, 无效.
  2. check 打头的 3 个设置...反复改为 true, false, 无效.
  3. file_list: 已经重新做了快照...依旧无效.

本机环境

╮(╯_╰)╭
MacOS Sierra

qupload 报错

ubuntu@pt-bj-bgp3:/data/qiniu$ ./qshell qupload 10 sync.conf
Listing local sync dir, this can take a long time, please wait patiently...
2015/12/10 20:10:59 [ERROR][qshell] qupload.go:240: Invalid cache line `33 14449019115095594'

-------Upload Result-------
Total: 0
Success: 0
Failure: 0
Skipped: 0

Duration: 3.575149ms

写在bash脚本中的时候,qshell无法运行,提示account.json 不存在

cd $BACKUP_DIR mysqldump $OPTIONS >> $DUMPFILE echo $OPTIONS if [[ $? == 0 ]] then tar czvf $ARCHIVE $DUMPFILE >> $LOGFILE 2>&1 echo "[$ARCHIVE] Backup Successful!" >> $LOGFILE rm -f $DUMPFILE /root/qs/qshell account $AK $SK /root/qs/qshell fput $QN_ZONE $ARCHIVE $BACKUP_DIR/$ARCHIVE else echo "Database Backup fail!" >> $LOGFILE #mail -s "database : $DATABASE Daily Backup Fail!" $MAIL fi

代码如上

执行结果:
Open account file failed, open .qshell/account.json: not a directory Open account file failed, open .qshell/account.json: not a directory, please useaccountto set AccessKey and SecretKey first

qupload同步大量文件速度极慢

版本:qshell v1.8.0 win x64
我有上万个小文件想通过qupload进行同步
但同步时似乎对于每个文件都会尝试上传,与服务器交互,导致速度极慢
之前使用的qrsbox有对本地文件的版本数据进行缓存,仅尝试上传有更新的文件
是我配置方法不当还是qshell没有这个功能?

建议:qupload 能实时输出进度

在 travis-ci.org中执行 qshell qupload qshell.conf,长时间没有输出,超时了。

建议:qupload 能实时输出进度,就像 rput 一样。

出错截图:
2015-07-15 17 53 56

qdownload能否添加起始时间点

qdownload当前是否只支持将整个空间符合规则的一次下下来,能否指定文件起始点,与结束点,因为当前的机制下很可能硬盘被塞满了,但空间可能没完整下载下来

qdownload failed but the file is downloaded successfully

{
    "dest_dir"  : "/path/to/",
    "bucket"    : "tower",
    "access_key"    : "xxxx",
    "secret_key"    : "xxxx",
    "domain"    : "http://obd7m26p3.bkt.clouddn.com",
    "is_private": true,
    "prefix"    : "717buy_user/12.txt"
}

qshell qdownload does download the file but show like this:

2016/08/17 12:13:27 [INFO][qshell] qdownload.go:170: Total:  1
2016/08/17 12:13:27 [INFO][qshell] qdownload.go:171: Local:  0
2016/08/17 12:13:27 [INFO][qshell] qdownload.go:172: Success:    0
2016/08/17 12:13:27 [INFO][qshell] qdownload.go:173: Failure:    1
2016/08/17 12:13:27 [INFO][qshell] qdownload.go:174: Duration:   432.707361ms

I print out the resp and find resp.Header.get('Content-Length') failed. There is no 'Content-Length' in resp.Header.
So I print out the req to get the URL like this:
http://obd7m26p3.bkt.clouddn.com/717buy_user/12.txt\?e=1471493749&token=xxxxx
Use httpie to send this request and get the header which does contains 'Content-Length'.
That's so weird.
I try to help find which file could cause this error but I can't. Some other files in the same bucket can download successfully.

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.