← 返回命令列表

Linux command

ia 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Download all files

ia download [item-name]

Download a specific file

ia download [item-name] --glob="[*.pdf]"

Upload a file

ia upload [item-name] [file]

Search items

ia search "[query]"

Get item metadata

ia metadata [item-name]

List files

ia list [item-name]

Delete a file

ia delete [item-name] [file]

Configure

ia configure

说明

ia is the official Internet Archive command-line tool, provided via the internetarchive Python package. It provides access to downloading, uploading, searching, and managing items in the archive.org collection. The tool supports bulk operations and scripting, making it suitable for archivists and researchers working with large datasets. It can manage metadata, upload and delete files, and query the catalog task queue. Authentication is handled via S3-like API keys obtained from archive.org.

参数

download
Download files from an item.
upload
Upload files to an item.
delete
Delete files from an item.
search
Search the Internet Archive catalog.
metadata
Retrieve or modify item metadata.
list
List files in an item.
configure
Configure Internet Archive credentials.
tasks
Retrieve information about catalog tasks.
--help
Display help information.
--version
Display version information.

FAQ

What is the ia command used for?

ia is the official Internet Archive command-line tool, provided via the internetarchive Python package. It provides access to downloading, uploading, searching, and managing items in the archive.org collection. The tool supports bulk operations and scripting, making it suitable for archivists and researchers working with large datasets. It can manage metadata, upload and delete files, and query the catalog task queue. Authentication is handled via S3-like API keys obtained from archive.org.

How do I run a basic ia example?

Run `ia download [item-name]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does download do in ia?

Download files from an item.