./scripts/feeds命令使用说明

徐弘图
2023-12-01

#./scripts/feeds –help
Usage: ./scripts/feeds [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 : List packages of specified feed.
-d : Use specified delimiter to distinguish rows (default: spaces)

install [options] : Install a package
Options:
-a : Install all packages from all feeds or from the specified feed using the -p option.
-p : 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] : Search for a package
Options:
-r : Only search in this feed

uninstall -a|: 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: 删除已经下载的和生成的文件

 类似资料: