scripts

misc scripts and tools
git clone git://git.2f30.org/scripts
Log | Files | Refs

p (194B)


      1 #!/bin/sh -e
      2 
      3 host=u.2f30.org
      4 user=${USER:-$LOGNAME}
      5 base=/home/$user/www
      6 path=p
      7 file=`openssl rand -hex 8`
      8 
      9 ssh $user@$host "cd $base/$path && cat > $file"
     10 echo https://$host/$user/$path/$file