Skip to content

Latest commit

 

History

History
38 lines (34 loc) · 1.07 KB

README.md

File metadata and controls

38 lines (34 loc) · 1.07 KB

📧 archiveToMail (atm)

Submit the identifier of an archive.org item. Script extracts the uploader's email address from its metadata and displays it in terminal.

ℹ️ How to find the identifier ?

The unique identifier of an item can be found in the URL, right between /details/ and the next /.
For https://archive.org/details/gandi, the identifier is gandi
For https://archive.org/details/scpo_colo0054/mode/1up, the identifier is scpo_colo0054

💡 Prerequisite

  • jq
    • sudo apt install jq
    • sudo dnf install jq
    • sudo pacman -S jq
    • brew install jq

🛠️ Installation

git clone https://github.com/ax-mz/archiveToMail.git
cd archiveToMail/
chmod +x atm.sh

💻 Usage

./atm.sh [IDENTIFIER]

👀 Example

user@machine:~/archiveToMail$ ./atm.sh gandi
indianturism@gmail.com
user@machine:~/archiveToMail$ 

with alias:

user@machine:~$ atm scpo_colo0054
numerisation.bib@sciencespo.fr
user@machine:~$