| die letzten Änderungen * Seitenstruktur * Stichwortsuche :


logo_puschin.jpg

Startseite

Knowledge base



Kontakt

Impressum

Knowledge base - Open-Xchange

Knowledge base

6 Benutzer online Druckversion




zurück



Open-Xchange
CVS Sniffing for Open-Xchange

#!/bin/bash

#
# CVS SNIFFING
#

# CHECK SOME ENV
type curl > /dev/null 2>&1 || { echo "curl not found, exiting." ; exit 1; }
type tar > /dev/null 2>&1 || { echo "tar not found, exiting." ; exit 1; }
type find > /dev/null 2>&1 || { echo "find not found, exiting." ; exit 1; }
type tac > /dev/null 2>&1 || { echo "tac not found, exiting." ; exit 1; }
type sort > /dev/null 2>&1 || { echo "sort not found, exiting." ; exit 1; }
type more > /dev/null 2>&1 || { echo "more not found, exiting." ; exit 1; }

# SOME VARS
OX_DIR=/opt/ox_cvs
OX_FILE="ox.tar.gz"

# TMP DIR
test -d $OX_DIR || mkdir $OX_DIR

# EMPTY TMP DIR
rm -rf $OX_DIR/*

# GO TO TMP DIR
cd $OX_DIR

# GET IT WITH CURL, MUCH BETTER THAN WITH WGET
curl http://www.open-xchange.org/cgi-bin/viewcvs.cgi/openexchange/src/com.tar.gz?view=tar > $OX_FILE

# EXTRACT THE RESULT
tar xvzf $OX_FILE

# DELETE THE TAR
rm -f $OX_FILE

# SHOW ME THE LATEST FIRST
find $OX_DIR/ -printf "%T@ %t %p\n" -type f | sort | tac | more

exit 0


zurück



Knowledge base wurde zuletzt bearbeitet am 12.07.13 durch Frank

www.puschin.de
login

<body bgcolor='#FFFFFF' link='#000000' vlink='#000000' alink='#000000' text='#000000'><font face='Verdana' size='2'><strong>www.puschin.de</strong><br>Die Webseite http://www.puschin.de bietet eine interessante Webseite zu vielen Themen aus dem Bereich Linux und Windows. Man findet hier Tipps und Tricks zu cms php apache postfix openxchange tomcat windows linux firewall <br><br><font face='Verdana' size='2'><li><a href='cms.php?print=&aktion=thema_anzeigen&menue_id=191'>Startseite</a><font face='Verdana' size='2'><li><a href='cms.php?print=&aktion=thema_anzeigen&menue_id=63'>Knowledge base</a><font face='Verdana' size='2'><li><a href='cms.php?print=&aktion=thema_anzeigen&menue_id=57'>Kontakt</a><font face='Verdana' size='2'><li><a href='cms.php?print=&aktion=thema_anzeigen&menue_id=9'>Impressum</a></body>