Internet Archive CLI Tool: Difference between revisions

From Minetest
(Created page with "<div class="p44_navbar"> Start Page Browser Play! Minetest MT worlds Bucket Game Player Basics Downloads Contact Devel Center </div> <div class="p44_navbar"> [https://minetest.org/ minetest.org] [https://minetest.io minetest.io] [https://git.minetest.io/ 9,000 gits] [https://irc.minetest.org:9000/ CoderChat] [https://edgy1.net/ EdgyNet] <...")
 
(No difference)

Revision as of 20:31, 23 November 2023



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