repo.or.cz
/
james-home.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'master' of https://git.jamestechnotes.com/r/james/home/home
[james-home.git]
/
bin
/
pushblog
blob
f968ffd72a22ea0dd7ac49f588fe3f3437fb1436
1
#!/bin/bash
2
3
[
"X
${1}
"
=
"X"
] && /
bin
/
echo
"Need website"
4
5
BLOG
=
${1}
6
7
rsync
-avz --progress --stats --delete-after
$HOME
/
blogs
/
${BLOG}
/
_site
/
chara.dreamhost.com
:
${BLOG}
/