I prefer having titles in filenames as I use the same system with our public photo albums. Here is a small shell command using ai command tool to grab titles from filenames and add them arhive.org metadata. You need to install python and the ia tool first.
Here is the command:
Code: Select all
ia search -i 'collection:<TYPE YOUR COLLECTION ID HERE>' 'mediatype:image' | \
while read identifier
do
ia list $identifier --format=JPEG | \
while read filename
do
title=${filename%.*}
ia metadata $identifier --target="files/$filename" --modify="title:$title"
done
done

Code: Select all
ia search -i 'mediatype:image' 'creator:Santeri Kannisto' | \
Code: Select all
ia search -i 'mediatype:image' 'uploader:<TYPE YOUR LOGIN EMAIL ADDRESS HERE>' | \
Happy archiving,
Santeri