]> asedeno.scripts.mit.edu Git - sipb-mirrors.git/commitdiff
Created mirror script for wireshark network protocal analyzer (website + downloads)
authorEric Lujan <lujan@mit.edu>
Wed, 30 Dec 2015 07:40:20 +0000 (23:40 -0800)
committerLizhou Sha <slz@mit.edu>
Wed, 30 Dec 2015 08:04:14 +0000 (03:04 -0500)
Signed-off-by: Eric Lujan <lujan@mit.edu>
Signed-off-by: Lizhou Sha <slz@mit.edu>
fetch-scripts/wireshark [new file with mode: 0644]

diff --git a/fetch-scripts/wireshark b/fetch-scripts/wireshark
new file mode 100644 (file)
index 0000000..ee26ff3
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+RSYNCSOURCE=rsync://rsync.wireshark.org
+BASEDIR=${MIRRORDIR}/wireshark
+
+mkdir -p ${BASEDIR}/download
+rsync -rtlvz --delete --stats --exclude=download \
+          ${RSYNCSOURCE}/wsweb ${BASEDIR}
+rsync -rtlvz --delete --stats ${RSYNCSOURCE}/wsdl ${BASEDIR}/download