LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

ia

Internet Archive command-line tool

TLDR

Download all files from an item
$ ia download [item-name]
copy
Download a specific file from an item
$ ia download [item-name] --glob="[*.pdf]"
copy
Upload a file to an item
$ ia upload [item-name] [file]
copy
Search items in the archive
$ ia search "[query]"
copy
Get item metadata in JSON format
$ ia metadata [item-name]
copy
List files in an item
$ ia list [item-name]
copy
Delete a file from an item
$ ia delete [item-name] [file]
copy
Configure Internet Archive credentials
$ ia configure
copy

SYNOPSIS

ia command [options]

DESCRIPTION

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.

PARAMETERS

COMMAND

Subcommand to execute.
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.

CAVEATS

Requires an archive.org account and API keys for uploads and modifications. Rate limits apply to bulk operations. Large file transfers may take considerable time. Install via pip install internetarchive.

HISTORY

ia was created by the Internet Archive to provide command-line access to their digital library.

SEE ALSO

wget(1), curl(1), youtube-dl(1), rclone(1)

Copied to clipboard
Kai