14 lines
181 B
Bash
14 lines
181 B
Bash
|
|
#!/usr/bin/env sh
|
||
|
|
|
||
|
|
target=/tmp/vtm.tar.xz
|
||
|
|
tar \
|
||
|
|
--directory=.. \
|
||
|
|
--create \
|
||
|
|
--exclude='.git*' \
|
||
|
|
--exclude='tools*' \
|
||
|
|
vtm \
|
||
|
|
| xz \
|
||
|
|
> ${target}
|
||
|
|
echo "-- written to ${target}"
|
||
|
|
|