The little things give you away... A collection of various small helper stuff
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

6 lines
168 B

  1. #!/bin/bash
  2. localfile="$1"
  3. remotefile="${2:-${1}}"
  4. remotefile="${remotefile##*/}"
  5. echo "$(curl -sF "f:1=@${localfile}" http://ix.io/)+/${remotefile}" | sed 's,#,%23,g'