The Internet Archive Python CLI tool


If you’re used to the older FTP method of uploading material to the Internet Archive, you owe it to yourself and your password to try out their excellent Python command line tools.

To install the package on FreeBSD:

# pkg install python3 py36-internetarchive

Or using pip on FreeBSD to install:

# pkg install python3 py36-pip
% pip install --user internetarchive

Or on macOS with Homebrew:

$ brew install python
$ pip install internetarchive

Let’s confirm it worked:

$ ia --help | head 1
==> A command line interface to

Noice! Now we can configure:

$ ia configure
==> Enter your credentials below to configure 'ia'.
==> Email address: [..]
==> Password: [..]
==> Config saved to: /home/rubenerd/.config/ia.ini

Now you can upload, download, delete, search, view tasks, copy/move, and more. The syntax is simple:

$ ia <action> [options] <identifier>

More info is available with ia --help. If you fudge an argument or file path, it prints out inline instructions to help you out.

Author bio and support


Ruben Schade is a technical writer and infrastructure architect in Sydney, Australia who refers to himself in the third person. Hi!

The site is powered by Hugo, FreeBSD, and OpenZFS on OrionVM, everyone’s favourite bespoke cloud infrastructure provider.

If you found this post helpful or entertaining, you can shout me a coffee or send a comment. Thanks ☺️.