You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
exec >&2
|
|
xdir=${1%.tar.gz}
|
|
base=${xdir##*/}
|
|
updir=${xdir%/*}
|
|
redo-ifchange "$xdir.dir"
|
|
OUT="$PWD/$3"
|
|
|
|
cd "$updir" && tar -czvf "$OUT" --exclude "$base/.stamp" "$base"
|
|
|