WIP: stage all uncommitted work — sprints 46-221, graduation headers, specialist fleet, test steps 909-1988
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
6
example_projects/bash_log_shipper/bin/ship_logs.sh
Executable file
6
example_projects/bash_log_shipper/bin/ship_logs.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
SRC="${1:-/var/log/app.log}"
|
||||
DST="${2:-/tmp/app.log.gz}"
|
||||
gzip -c "$SRC" > "$DST"
|
||||
echo "$DST"
|
||||
Reference in New Issue
Block a user