#!/bin/shset-eu
# JEKYLL_COMPAT: copy files while things under `src/content/` aren't the# canonical sourceforfin_pastebins/*;doNAME="$(basename"$f")"DATE="$(echo"$NAME"|cut-d--f-3|tr'-''/')"FILENAME="$(echo"$NAME"|cut-d--f4-)"DIR="src/content/pastebin/$DATE"mkdir-p"$DIR"if[!-e"$DIR/$FILENAME"];thencp"$f""$DIR/$FILENAME"fidone