Explorer
/tmp/job003_backup.sh
← Zurück ↓ Download
#!/bin/sh
TS=$(date +%Y%m%d_%H%M%S)
R=/opt/struktur/hermes-terminal-reparatur/$TS
mkdir -p "$R"
for f in /opt/struktur/hermes-ui-auswahl/hermes-workspace/src/components/terminal/terminal-workspace.tsx /opt/struktur/hermes-ui-auswahl/hermes-workspace/src/components/terminal/terminal-panel.tsx /opt/struktur/hermes-ui-auswahl/hermes-workspace/src/components/swarm/swarm-terminal.tsx; do
 cp "$f" "$R/"
 sha256sum "$f" >> "$R/SHA256-vorher.txt"
done
echo "$R"