使用plowshare命令行下自动下载国内外网盘资源

下载plowshare:

git clone https://code.google.com/p/plowshare/

安装:

PREFIX=/usr/local/plowshare make install

执行链接:

ln -s /usr/local/plowshare/bin/plowdown /usr/bin/plowdown
ln -s /usr/local/plowshare/bin/plowup /usr/bin/plowup
ln -s /usr/local/plowshare/bin/plowlist /usr/bin/plowlist
ln -s /usr/local/plowshare/bin/plowdel /usr/bin/plowdel

下载国内外网盘的东西,如网盘下载链接为“http://xxx/xxx”只需执行一条命令

plowdown http://xxx/xxx

如果plowshare出现“Can't locate HTML/Entities.pm in @INC”,执行以下命令:

cpan

(如果是第一次使用cpan,根据自己情况配置好)

当看到:

cpan>

输入:

install HTML::Entities

这样就会修复上述问题啦!

Leave a comment