找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 4556|回复: 3

[翻译]./scripts/feeds命令帮助

[复制链接]
发表于 2016-5-3 15:29 | 显示全部楼层 |阅读模式
原文:http://www.openwrtdl.com/wordpress/%E7%BF%BB%E8%AF%91-scriptsfeeds%E5%91%BD%E4%BB%A4%E5%B8%AE%E5%8A%A9

这个命令在openwrt中经常使用的,用来升级sdk的软件包,安装特殊的软件包等,作用很大,但是没有相关的翻译,而且每次用都不是很清楚什么意思。。。

干脆花点时间做个翻译,下次就知道了!分享给大家

注明下:

feeds的翻译所有的翻译软件都是翻译为“饲料”,尼玛,让我咋用!所以我全部翻译为“库”

#./scripts/feeds –help
Usage: ./scripts/feeds <command> [options]

Commands:
list [options]: List feeds, their content and revisions (if installed)
Options:
-n : List of feed names.
-s : List of feed names and their URL.
-r <feedname>: List packages of specified feed.
-d <delimiter>: Use specified delimiter to distinguish rows (default: spaces)

install [options] <package>: Install a package
Options:
-a : Install all packages from all feeds or from the specified feed using the -p option.
-p <feedname>: Prefer this feed when installing packages.
-d <y|m|n>: Set default for newly installed packages.
-f : Install will be forced even if the package exists in core OpenWrt (override)

search [options] <substring>: Search for a package
Options:
-r <feedname>: Only search in this feed

uninstall -a|<package>: Uninstall a package
Options:
-a : Uninstalls all packages.

update -a|<feedname(s)>: Update packages and lists of feeds in feeds.conf .
Options:
-a : Update all feeds listed within feeds.conf. Otherwise the specified feeds will be updated.
-i : Recreate the index only. No feed update from repository is performed.

clean: Remove downloaded/generated files.

=============中文翻译===================
Usage: ./scripts/feeds <命令> [选项]

Commands:
list [选项]: 支持的库列表,包括他们的内容和修订版本
选项:
-n : 列出库名称
-s : 列出库名称和他们的URL
-r <库名称>: 列出指定的库
-d <分隔符>: 使用特定的分隔符来区分每一行(默认:空格)

install [选项] <软件名>: 安装一个软件包
选项:
-a : 从所有的库中安装所有的软件包或者从指定的库中安装(-p选项).
-p <库名>: 安装想要的库的软件包
-d <y|m|n>: 设置新安装的软件默认状态.
-f : 强制安装软件,如果存在则覆盖

search [选项] <字符串>: 搜索一个软件包
选项:
-r <库名>: 仅搜索这个库

uninstall -a|<软件包>: 卸载一个软件包
选项:
-a : 卸载所有的软件包

update -a|<库名>: 升级所有的软件包和所有的在feeds.conf中指定的库.
选项:
-a : 升级feeds.conf中所有的库列表.否则升级指定的库
-i : 重建索引文件,不会升级库

clean: 删除已经下载的和生成的文件

发表于 2016-5-3 15:37 | 显示全部楼层
本帖最后由 djjk 于 2016-6-26 11:27 编辑

!!!

点评

我是把它当成软件包的仓库 我说的库类似于仓库的意思。。。 哈哈 多谢指正!  详情 回复 发表于 2016-5-3 15:54
回复 支持 反对

使用道具 举报

发表于 2016-5-3 15:45 | 显示全部楼层
哇,这个好,谢谢楼主的精心翻译!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2016-5-3 15:54 | 显示全部楼层
djjk 发表于 2016-5-3 15:37
feeds在这里是动词的名词化用法,取“向..提供"的意思,对于openwrt而言,对象当然就是openwrt。这里可翻译 ...

我是把它当成软件包的仓库
我说的库类似于仓库的意思。。。
哈哈  
多谢指正!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-6-4 15:04

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表