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.
16 lines
271 B
16 lines
271 B
#!/bin/bash
|
|
|
|
cd $(dirname $0)
|
|
|
|
./setOwner.sh
|
|
./createEmptyPasswd.sh
|
|
|
|
cd ../..
|
|
|
|
FILE_NAME="/tmp/$(date +'%Y%M%d')-KAZ.tar.bz2"
|
|
|
|
tar -cjf "${FILE_NAME}" --transform s/emptySecret/secret/ \
|
|
./kaz/emptySecret/ ./kaz/bin ./kaz/config ./kaz/dockers
|
|
|
|
ls -l "${FILE_NAME}"
|
|
|
|
|