Add copyright to mirror script.
This commit is contained in:
parent
ce4a6f7e66
commit
2a341ba765
1 changed files with 5 additions and 1 deletions
6
mirror
6
mirror
|
|
@ -1,5 +1,8 @@
|
|||
#!/bin/bash
|
||||
# Version: 0.4.0
|
||||
# Copyright (c) 2026:
|
||||
# Darren 'Tadgy' Austin <darren (at) afterdark.org.uk>
|
||||
# Licensed under the terms of the GNU General Public License version 3.
|
||||
# shellcheck disable=SC2034
|
||||
|
||||
# Script config.
|
||||
|
|
@ -250,8 +253,9 @@ done
|
|||
}
|
||||
|
||||
echo "INFO: Sync list: ${RSYNC_LIST[*]} ${LFTP_LIST[*]}" >&2
|
||||
START_TIME="$(printf "%(%s)T")"
|
||||
for RUN in $(seq -s' ' 1 "$MAX_RUNS"); do
|
||||
START_TIME="$(printf "%(%s)T")"
|
||||
|
||||
# Mirrors synced using rsync
|
||||
echo "INFO: Begining rsync run $RUN at $(printf "%(%c)T")" >&2
|
||||
for VAR in "${RSYNC_LIST[@]}"; do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue