Node.js第三方模块之download-cli
2015-10-02 10:49
513 查看
介绍:
download-cli是一个download模块的命令行版本。
安装:
用法:
输出:
download-cli是一个download模块的命令行版本。
安装:
$sudo npm install -g download-cli
用法:
$ download --help
输出:
charies:two xxxxxx$ download --help Download and extract files Usage $ download <url> $ download <url> > <file> $ download --out <directory> <url> $ cat <file> | download --out <directory> Example $ download http://foo.com/file.zip $ download http://foo.com/cat.png > dog.png $ download --extract --strip 1 --out dest http://foo.com/file.zip $ cat urls.txt | download --out dest Options -e, --extract Try decompressing the file -o, --out Where to place the downloaded files -s, --strip <number> Strip leading paths from file names on extraction
相关文章推荐
- node起步
- Node express框架初试
- windows下安装node.js及less
- [Leetcode]Swap Nodes in Pairs
- Reverse Nodes in k-Group
- **LeetCode-Count Complete Tree Nodes
- nodejs学习笔记二:闭包和异步编程
- nodejs学习笔记一:什么是事件驱动编程风格
- LeetCode---Swap Nodes in Pairs
- nodejs vim 配置
- node.js下LDAP查询实例分享
- [LeetCode] Delete Node in a Linked List
- node.js下LDAP查询实例分享
- 10个常见的Node.js面试题
- NodeJs学习笔记01-你好Node
- LeetCode——Populating Next Right Pointers in Each Node
- node.js下LDAP查询实践
- 第7课 nodejs请求响应
- 第五课 nodejs 路由实现并处理请求作出响应
- 2015第40周二Node学习