switch the publish script to use rsync like it should
Roger Dingledine

Roger Dingledine commited on 2006-07-31 23:19:40
Zeige 1 geänderte Dateien mit 5 Einfügungen und 4 Löschungen.

... ...
@@ -2,9 +2,10 @@
2 2
 cvs update -d -P
3 3
 make
4 4
 # XXX should check whether make fails
5
-scp *.html.* tor.eff.org:/www/tor.eff.org/docs/
6
-scp docs/*.html.* tor.eff.org:/www/tor.eff.org/docs/docs/
7 5
 
8
-## This won't move images, css, etc. Somebody should set up rsync or
9
-## something smarter to move those, or you can scp them separately.
6
+## I'm not comfortable having arbitrary people use --delete yet,
7
+## since if they screw up it'll blow away arbitrary things.
8
+#rsync -Pravz --delete . tor.eff.org:directory/
9
+
10
+rsync -Pravz . tor.eff.org:/www/tor.eff.org/docs/
10 11
 
11 12