This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Neocities provides an API for uploading files from ./public_html to | |
# your site. | |
# | |
# Example Usage: | |
# $ USERNAME=username PASS=secret_pass bash upload_site.sh path_to_local_web_root | |
# or | |
# $ export USERNAME=username | |
# $ export PASS=secret_pass |