6 lines
100 B
Bash
Executable File
6 lines
100 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
INPUT="$1"
|
|
OUTPUT="$2"
|
|
cd "$INPUT"
|
|
find . | cpio -H newc -o | gzip -9 > "$OUTPUT" |