Store lecture recordings in S3 and access them locally via a mounted directory (~/lectures).
launchctl load -w ~/Library/LaunchAgents/com.phoenixs.rclone.lectures.plist
launchctl kickstart -k gui/$(id -u)/com.phoenixs.rclone.lectures
launchctl disable gui/$(id -u)/com.phoenixs.rclone.lectures
launchctl kickstart -k gui/$(id -u)/com.phoenixs.rclone.lectures # if it’s stuck, this restarts; so instead:
launchctl kill SIGTERM gui/$(id -u)/com.phoenixs.rclone.lectures
launchctl unload ~/Library/LaunchAgents/com.phoenixs.rclone.lectures.plist
launchctl load -w ~/Library/LaunchAgents/com.phoenixs.rclone.lectures.plist
launchctl list | grep phoenix
Check if the mount exists:
mount | grep lectures
logs stored in ~/codestuff/lecture-s3/logs