Archiving old files in ~/mglerner.com

The Dreamhost web directory ~/mglerner.com accumulated ~20 years of files alongside the website. We move clearly-dead ones into ~/mglerner.com/_attic/ (a reversible mv - never a delete) so they can be reviewed before deletion.

The live catalog

Browsable list of what’s already in the attic: https://mglerner.com/_attic/ (on disk: ~/mglerner.com/_attic/index.html). Regenerate it after archiving more (see bottom).

Archived so far

  • NonNewtonian/ (old WordPress site), TextbookAnnotater/, wiki/

KEEP - active, do NOT archive

  • The live site itself: the *.html, blog/, site_libs/, img/, styles.css, MGLernerCV.pdf, search.json, sitemap.xml that ./deploy.sh writes.
  • fish.php - game rules, externally linked.
  • pogo-dives/ and pogo-dives-old/ - active (rsynced from ~/coding/MGLPoGo).
  • researchblog/ - a separate private WordPress lab notebook (“Lerner Labs Research”). Not part of this site; leave it.
  • Site infra: .htaccess, .well-known/, robots.txt, agents.txt, favicon.*, privacy.html, support.html.
  • Other domains (heatherlerner.com, allanstrees.org, lernerclan.net, …) are separate top-level directories in ~ - out of scope, can’t be touched from here.

Candidates to archive (old/dead - confirm before moving)

  • Large media (~2 GB): Harpy Eagle Movie .mp4, Jun24Talk.mov, Jun24Talk2.mov, PoinJan2011.mp4, PoinVids.zip, fulldhfrmovie.gif
  • Research data / tarballs: *.tar, *.tgz, state1.dx, state2.dx, dppc-md.xtc, waterbox.gro, 1rx1.pdb, fid, procpar
  • Old CV versions: MGLernerCVonline.*, MichaelLernerCV.*, *_images/, MichaelLernerEarlhamLecture.pptx, MGLernerCV.htm~, newcv.htm~
  • Old course folders: 125/ 290/ 360/ 375/ 2048_485/ MarchMadness/
  • Old HTML/notebook experiments: DHFR*.html, HistogramsVsKDE.*, LookupTables.html, MMMC2015.html, MichaelDoesn'tUnderstandAutocorrelation.*, Optimizing MSD calculations.html, tinkaton_cd_*.html, Rachael.ipynb, vancleave with comments.ipynb, 2013CS290Midterm1.ipynb
  • Old posters/images: DNAPoster.pdf, Diffusion_Poster.pdf, FINALClimateChangeEvidence.pdf, StatMechPoster.pdf, Kirk.jpg, image.jpg
  • *.old/ dirs: NonNewtonian.old/, blog.old/, researchblog.old/, wiki.old/
  • Dead WordPress bits: wp-blog.php, wp-config.php, wp_config.php
  • Editor backups: every *~ and *.php~ file
  • Eventually: the old academic *.php pages + header.php + academic.css + courses*.php (currently 301-redirected to the new *.html; kept as a safety net)

Review first - unsure if anyone still uses these

john/, ForJohn/, ForDonna/, src/, stock/, B/, BJCover/, WTF/, EvieVideos/, SWCPhotos/, Backup/, AudioBooks/, Top 100 Producers of Minority Graduate Degrees, 2020.xlsx

How to archive more

# move (reversible)  -  quote names with spaces:
ssh mglerner.com 'cd ~/mglerner.com && mv DNAPoster.pdf "Harpy Eagle Movie .mp4" 125/ _attic/'

# regenerate the catalog (edit DESC in the script for nicer descriptions):
ssh mglerner.com 'python3 - ~/mglerner.com/_attic' < tools/make-attic-index.py

To undo a move: ssh mglerner.com 'mv ~/mglerner.com/_attic/NAME ~/mglerner.com/'.