iScript icon indicating copy to clipboard operation
iScript copied to clipboard

百度盘的 ls 是怎么用的?

Open 0xuhe opened this issue 8 years ago • 9 comments

l path1 path2 为何要两个路径? 我如果是想显示 /foo 文件夹 输入 bp l /foo 会提示错误

0xuhe avatar Apr 13 '16 12:04 0xuhe

l path1 path2 是指可以指定两个以上的要ls的path


贴出你的错误

PeterDing avatar Apr 13 '16 13:04 PeterDing

''' ➜ ~ git:(master) ✗ bp l / usage: pan.baidu.com.py [-h] [-a ARIA2C] [-p] [-v] [-V] [-y] [-q] [-s SECRET] [-f FROM_] [-t TYPE_] [-l LIMIT] [-P PASSWD] [-m {o,c,aes-256-cfb,aes-128-cfb,aes-192-cfb,aes-256-ofb,aes-128-ofb,aes-192-ofb,aes-128-ctr,aes-192-ctr,aes-256-ctr,aes-128-cfb8,aes-192-cfb8,aes-256-cfb8,aes-128-cfb1,aes-192-cfb1,aes-256-cfb1,bf-cfb,camellia-128-cfb,camellia-192-cfb,camellia-256-cfb,cast5-cfb,chacha20,idea-cfb,rc2-cfb,rc4-md5,salsa20,seed-cfb}] [-R] [-H [HEADS [HEADS ...]]] [-T [TAILS [TAILS ...]]] [-I [INCLUDES [INCLUDES ...]]] [-E [EXCLUDES [EXCLUDES ...]]] [-c {on,off}] [xxx [xxx ...]] pan.baidu.com.py: error: unrecognized arguments: --color=tty '''

0xuhe avatar Apr 13 '16 15:04 0xuhe

找到原因了,是因为用的 zsh 的原因,可能是 zsh 里面有--color这个参数,如果用 bash 就没有问题了。

0xuhe avatar Apr 13 '16 15:04 0xuhe

我也用zsh, 但没有这个问题。

PeterDing avatar Apr 14 '16 02:04 PeterDing

➜ ~ bp ls /
!! path is not existed.
--------------
/

登录成功了,但是 ls 等命令显示路径不存在。 @PeterDing

arfaWong avatar Dec 18 '16 14:12 arfaWong

Cookies 时间好像变得很短了。

qinwf avatar Dec 18 '16 14:12 qinwf

@arfaWong 前几天更新了 api,重新下载再试试

PeterDing avatar Dec 18 '16 15:12 PeterDing

@PeterDing 更新后可以了

arfaWong avatar Dec 18 '16 15:12 arfaWong

好像还是会过半个小时 cookies 失效,提示 !! path is not existed. ,不知道是不是我的个例。

qinwf avatar Dec 18 '16 17:12 qinwf