#!/usr/bin/env bash # booth — post media and links to The Booth (dead simple). A booth is just a # folder under $BOOTH_DATA_DIR; this is sugar over mkdir/cp so you get the URL # back. # # booth new make an empty booth, print its URL # booth add ... copy files into a booth (creates it), print URL # booth url print a booth's URL # booth ls list booths (kept ones marked ★) # booth rm wipe a booth now (TTL would eventually anyway) # # booth keep exempt a booth from the 24h sweep, forever # booth unkeep hand it back to the sweeper # booth link [description] append a link to the standing link board # booth links list the board, numbered, with entry ids # booth unlink remove ONE link from the board # # booth ask