Skip to content

Instantly share code, notes, and snippets.

@rubeniskov
Last active September 29, 2022 00:39
Show Gist options
  • Save rubeniskov/63c8b5d5b8d213a83ef6e580ba3abb3c to your computer and use it in GitHub Desktop.
Save rubeniskov/63c8b5d5b8d213a83ef6e580ba3abb3c to your computer and use it in GitHub Desktop.
tempfoo=`basename $0`
TMPFILE=`mktemp /tmp/${tempfoo}` || exit 1
filename=$TMPFILE/$(basename "$(1)")
wget -q -O- $(0) > $filename
echo $filename`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment