Internet Archive CLI Tool

From Minetest
Revision as of 20:31, 23 November 2023 by Poetry (talk | contribs) (Poetry moved page IArchive CLI Tool to Internet Archive CLI Tool)



Introduction

This page provides some information related to an Internet Archive CLI tool.

Internet Archive CLIs tool 

As of Fall 2023, the link below worked and pointed to a Python binary script:

https://ia800702.us.archive.org/27/items/ia-pex/ia

If the script was installed on Debian 11 and chmod'd to 755, it provided CLI access to Internet Archive. The following command configured the tool:

ia configure

A command similar to the following could then be used to upload a tarball to Internet Archive [where it would be downloadable by the public]:

ia upload \
--metadata=mediatype:software \
Final_Minetest_Assemble \
minetest-assemble-231123.tgz

The uploader needed to enter some information manually using the Internet Archive web GUI. This included original creator, original date, and description.

The "Final_Minetest_Assemble" string in this example specified a unique and unchangeable item ID.

To replace the uploaded file, without deleting the item ID, one could do this:

ia delete Final_Minetest_Assemble
# repeat the ia upload

Warning #1: If one deleted the item ID at the GUI level, it was then gone forever.

Warning #2: It wasn't possible to change mediatype at the GUI level.

End of page