22 lines
428 B
Bash
22 lines
428 B
Bash
#!/bin/bash
|
|
|
|
USR=dotyaoverlord
|
|
HOST=dotya.ml
|
|
PUBDIR=$HOME/tew_0x00public/
|
|
|
|
rm -rfv ../tew_0x00/public
|
|
mkdir -pv ../tew_0x00/public
|
|
|
|
rsync -av index.html scripts css media \
|
|
roundedcorners backgroundgradient shadows \
|
|
2Dtransforms 3Dtransforms transitions animations \
|
|
../tew_0x00/public
|
|
|
|
if [ $USER = $USR ]; then
|
|
rsync -av --delete public/ ${PUBDIR}
|
|
else
|
|
rsync -avz --delete public/ ${USR}@${HOST}:${PUBDIR}
|
|
fi
|
|
|
|
exit 0
|