2020-03-21 00:28:39 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
USR=dotyaoverlord
|
|
|
|
HOST=dotya.ml
|
2020-03-31 19:10:40 +02:00
|
|
|
PUBDIR=$HOME/tew_0x00public/
|
2020-03-21 00:28:39 +01:00
|
|
|
|
2020-03-31 19:10:40 +02:00
|
|
|
rm -rfv ../tew_0x00/public
|
|
|
|
mkdir -pv ../tew_0x00/public
|
2020-03-31 18:56:49 +02:00
|
|
|
|
2020-05-22 12:02:54 +02:00
|
|
|
rsync -av index.html scripts css media fonts \
|
2020-03-31 18:56:49 +02:00
|
|
|
roundedcorners backgroundgradient shadows \
|
|
|
|
2Dtransforms 3Dtransforms transitions animations \
|
2020-04-09 01:38:12 +02:00
|
|
|
multiplecolumns boxsizing flexbox \
|
2020-03-31 19:10:40 +02:00
|
|
|
../tew_0x00/public
|
2020-03-21 00:28:39 +01:00
|
|
|
|
|
|
|
if [ $USER = $USR ]; then
|
2020-03-31 19:10:40 +02:00
|
|
|
rsync -av --delete public/ ${PUBDIR}
|
2020-03-21 00:28:39 +01:00
|
|
|
else
|
2020-03-31 19:10:40 +02:00
|
|
|
rsync -avz --delete public/ ${USR}@${HOST}:${PUBDIR}
|
2020-03-21 00:28:39 +01:00
|
|
|
fi
|
|
|
|
|
2020-03-31 18:56:49 +02:00
|
|
|
exit 0
|