ModernOSWeather/scripts/main.sh

8 lines
138 B
Bash
Executable File

#!/bin/bash
SCRIPT=$(readlink -f "$0")
DIR=$(dirname "$SCRIPT")
cd $DIR
mkdir -p ../__data__/
curl localhost:8000 > ../__data__/data.out