commit e13e2c357356887b9b0b5886ba7c0003e7225791 parent aca639afe8c435f45ccc1864c42236252646fff9 Author: Louis Burda <quent.burda@gmail.com> Date: Tue, 15 Jun 2021 19:07:43 +0200 added simple upload script to service files to help newer players and give example for automation Diffstat:
A | service/upload.sh | | | 14 | ++++++++++++++ |
1 file changed, 14 insertions(+), 0 deletions(-)
diff --git a/service/upload.sh b/service/upload.sh @@ -0,0 +1,14 @@ +#!/bin/sh + +# ..LoOKs lIKe i DRopPeD mY l33T uPLoAd ScRipT, oH NoOo! + +filename=$1 +remote=$2 + +( + echo "upload" + cat $filename | wc -c + cat $filename + echo "coolest stl evar!" + cat +) | nc $remote 9090