8 lines
185 B
Bash
Executable File
8 lines
185 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
SOURCE="${1:?source path required}"
|
|
TARGET="${2:?target path required}"
|
|
cp "$SOURCE" "$TARGET"
|
|
printf 'restored %s from %s\n' "$TARGET" "$SOURCE"
|