This file contains 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 | |
# A bash script for mirroring a file | |
# Exit codes: | |
# -1 = local file up to date, nothing to do | |
# 0 = updated local file, successfull | |
# 1 (and above) = failure | |
# Written by Jack Henschel for https://cubieserver.de/blog/ |