`ia upload' frontend
Go to file
TheTechRobo 33a5b33746 Add README.md
Signed-off-by: TheTechRobo <thetechrobo@protonmail.ch>
2022-04-30 02:27:14 +00:00
src Works!! 2022-02-17 11:41:29 -05:00
.gitignore Extremely sus! 2022-02-17 11:33:47 -05:00
Cargo.lock finish? 2022-02-17 11:13:37 -05:00
Cargo.toml Works!! 2022-02-17 11:41:29 -05:00
README.md Add README.md 2022-04-30 02:27:14 +00:00

README.md

intern

an ia upload frontend

What is it?

Example command:

intern wiki-raininghain.fandom.com "raininghain.fandom.com wikidump" wiki rainingchainfandomcom-20220429-wikidump/ -i="-v"

outputs:

ia upload wiki-raininghain.fandom.com rainingchainfandomcom-20220429-wikidump/ --metadata "mediatype:texts" --metadata "title:raininghain.fandom.com wikidump" --metadata "subject:MediaWiki; wiki; wikiteam" -v

Why?

I never put metadata in archive.org items. I'm both too lazy and I forget.

intern helps with that.

First, it forces you to add a page title in addition to the identifier, which makes items more human-usable.

Secondly, it has a few presets. The current presets and their effects are:

  • web:
    • mediatype: web
  • text:
    • mediatype: texts
  • wiki:
    • mediatype: texts
    • subject: MediaWiki; wiki; wikiteam
  • none:

Picking a type is required, but if you don't want anything choose none. Metadata of presets can be overwritten using the usual --metadata flag.

Passing options (such as -v) to ia can be done with the -i flag.
However, you might need to do e.g. -i=-v rather than -i -v because I'm too lazy to do the one-line fix.

--metadata does not have to be used with -i and is not tested that way.

comments

If you have questions, comments, or fixes, file an Issue or Pull Request! :-)