summaryrefslogtreecommitdiff
path: root/bin/udh
diff options
context:
space:
mode:
authorJoerg Jaspert <joerg@debian.org>2008-09-27 22:26:06 +0200
committerJoerg Jaspert <joerg@debian.org>2008-09-27 22:26:06 +0200
commite01f2a5f2618f1b6198b3697879abea690f1dfcc (patch)
treee6a12f2da50c96e3e06de86241dcd4e626f746ff /bin/udh
parentcf9e1969ac3777edb2b12d2d821c24604db4408e (diff)
udh
little helper to update archvsync homedirs Signed-off-by: Joerg Jaspert <joerg@debian.org>
Diffstat (limited to 'bin/udh')
-rwxr-xr-xbin/udh13
1 files changed, 13 insertions, 0 deletions
diff --git a/bin/udh b/bin/udh
new file mode 100755
index 0000000..47ac510
--- /dev/null
+++ b/bin/udh
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+set -e
+
+unset LC_CTYPE
+LANG=C
+HOST=`hostname -f`
+
+cd ${HOME}/archvsync
+git pull
+
+cd ${HOME}
+~/dircombine . . ${HOME}/archvsync >/dev/null 2>&1