From 8828e75a9ee7a5408ad00ad17e9878a2740cc866 Mon Sep 17 00:00:00 2001 From: kaa Date: Fri, 23 Jun 2023 11:19:51 -0700 Subject: "Initial." --- various/dirup | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 various/dirup (limited to 'various/dirup') diff --git a/various/dirup b/various/dirup new file mode 100755 index 0000000..20938d7 --- /dev/null +++ b/various/dirup @@ -0,0 +1,9 @@ +#!/bin/sh + +uname="" +psswd="" +rdir="${1:-/}" +fn="${2:-$PWD}" + +echo $rdir/$fn +curl -F "$rdir/$2=@$2" "https://$uname:$psswd@neocities.org/api/upload" -- cgit v1.2.3