#!/bin/bash PATH=~/.local/bin/pipenv:$PATH cd ~/cloudmapper rm -rf account-data/youracct # Data doesn't seem to update and you have to clear old data pipenv run python3.7 cloudmapper.py collect --config youracct-config.json --account youracct pipenv run python3.7 cloudmapper.py prepare --config youracct-config.json --account youracct sudo rm -rf /var/www/html/youracct/ # Data doesn't seem to update and you have to clear old data sudo cp -r web /var/www/html/youracct # You will have to have sudo without passwords or chown the directory