will probably have to publish a partial site update tonight, bc there is much mo...

@sparklepanic@infosec.exchange

will probably have to publish a partial site update tonight, bc there is much more to do on it and my energy to keep working on this project is diminishing

i should write a script/program that helps me organize my images for the site and in general

i want it to:

  • $scriptname . displays the images in a dir in the terminal with libsixel, and prints exif data from exiftool beneath them, current file name, and current alt-text from metadata
  • $scriptname rename . interactively opens each photo in the dir, asking if the metadata date is correct, offering to change the date, next prompt asks for a short hyphenated name, next prompt asks for user-created alt-text which it will then save in the metadata of the image, lastly it automatically changes .jpeg to .jpg and lowercases the whole filename
  • $scriptname hugo . generates a hugo short-code for the images in the dir, sorting them in reverse-chronological order, saving to hugo.txt. prompts at the beginning for
  • $scriptname html . same as above but in plain html, saves to html.txt
  • $scriptname alt $file prints the alt text for a file. pipe to wl-copy for easily putting it onto the keyboard. optionally use . to print filenames with alt-text for a whole dir.
  • $scriptname status prints if the files have been renamed, checks if there is an alt-text for each image
  • $scriptname org . checks if there are dirs for each year, moves files into a directory by year. checks first if there are dates in all the metadata and prompts y/n if not all files have date metadata
  • probably more things than this, but don't want it to get too complicated
  • this is meant to be a post-edit tool, but could easily be expanded to cull images from larger shoots pre-edit

inspired by a script @brainlessbitch wrote to get me started with this photo management stuff