#!/bin/sh | |
PREFIX="https://me0w.net/p" | |
# PREFIX="gopher://me0w.net/9/p" | |
# PREFIX="gopher://2bc6tyvpsugpbbpbsnplhi6feolwq4pgcelsgliz6rhgsgkjfeg7mjyd… | |
retfile=$(curl -sS -F"data=@$1" me0w.net/p/push) | |
echo "$PREFIX/$retfile" | |
# Records expire as storage reaches its capacity. | |
# Purge priority given to records older than 365 days, then to | |
# records larger than 10Mb and then to older records. |