ulthar.xyz > Repos

dotfiles

Seven years worth of accumulated configuration cruft
About Files Commits git clone https://ulthar.xyz/repos/dotfiles/dotfiles.git

dotfiles/scripts/.local/bin/0x0

Download raw file: scripts/.local/bin/0x0

#!/bin/sh

[ -z "$1" ] && {
	printf "Upload a file to 0x0.st. Usage: 0x0 [file]\n"
	exit
}

if [ -f "$1" ]; then
	curl -F"file=@$1" https://0x0.st
else
	printf "0x0: No such file or directory, %s\n" "$1"
	exit 1
fi
Generated 2025-03-07 15:24:27 -0700 by RepoRat