shithub: paste

Download patch

ref: c471747b833781fb4a941a82ad029caa9c65d9b3
parent: 4f19f3128c19e76a6fc2890b1de48c664fb1af03
author: Jacob Moody <[email protected]>
date: Thu Feb 22 21:21:27 EST 2024

transfer.sh: use basename for upload destination

--- a/transfer
+++ b/transfer
@@ -6,4 +6,4 @@
 }
 if(! ~ $#* 1)
 	usage
-<$1 hget -P -m PUT https://transfer.sh/^$1 | tee /dev/snarf ; echo
+<$1 hget -P -m PUT https://transfer.sh/`{basename $1} | tee /dev/snarf ; echo