shithub: paste

ref: c471747b833781fb4a941a82ad029caa9c65d9b3
dir: /transfer/

View raw version
#!/bin/rc

fn usage {
	echo usage: transfer file >/fd/2
	exit usage
}
if(! ~ $#* 1)
	usage
<$1 hget -P -m PUT https://transfer.sh/`{basename $1} | tee /dev/snarf ; echo