4 ms·
Maybe I don't understand what this service actually does. When you take away the file expiration and the convenience of not having to manage your own infrastruc
by profsnuggles 12y ago
Maybe I don't understand what this service actually does. When you take away the file expiration and the convenience of not having to manage your own infrastructure what is left? I've had this script in ~/bin for years.
SERVER="example.com"
LOCATION="public_html/uploads"
BASE_URL="http://$SERVER/uploads"
scp "$1" "$SERVER:$LOCATION"
echo "$BASE_URL/$1" | xclip -i
- Fastidious 12y agoAdd a cron job to that (to manage timed deletions), and you got a very sweet setup! :-)