[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: skype logs - home läuft zu



Hello Andre Bischof,

Am 2010-08-13 19:12:53, hacktest Du folgendes herunter:
> >>-rw-rw-r-- 1 frisco users 321M 11. Aug 16:21 skype_20100809-1106.trace.txt
> >>-rw-rw-r-- 1 frisco users  49M 11. Aug 16:21 skype_20100809-1106.log
> >>/home/user war voll, weil das 3.6G insgesamt waren.
> hm, ja, da hatte ich auch dran gedacht, aber ich will die Logs gar nicht.
> Vielleicht weiß ja jemand wie sich das logging von skype abstellen läßt?


    LAST_TWO=$(ls ${HOME}.Skype/Logs/* |sort |tail -n2)

    for FILE in $(ls ${HOME}.Skype/Logs/* |sort) ; do
      echo "Working on:  ${FILE}"
      echo "${LAST_TWO}" |grep --regexp="${FILE}" >/dev/null 2>&1
      if [ $? -ne 0 ]
      then
        echo "Lösche..."
    #    rm -f ${FILE}
      fi
    done

Ungetestet aber wenn es das anzeigt, was es soll und die  lezten  beiden
logs kein "Lösche..." angezeigt bekommen, dann kannste die beiden "echo"
entfernen und die auskomemntierte Zeile aktivieren.

Das ganze kannste dann von Deiner "crontab" einmal in der Woche aufrufen

Thanks, Greetings and nice Day/Evening
    Michelle Konzack

-- 
##################### Debian GNU/Linux Consultant ######################
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsystems@tdnet France EURL       itsystems@tdnet UG (limited liability)
Owner Michelle Konzack            Owner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz                 Kinzigstraße 17
67100 Strasbourg/France           77694 Kehl/Germany
Tel: +33-6-61925193 mobil         Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

<http://www.itsystems.tamay-dogan.net/>  <http://www.flexray4linux.org/>
<http://www.debian.tamay-dogan.net/>         <http://www.can4linux.org/>

Jabber linux4michelle@jabber.ccc.de
ICQ    #328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/

Attachment: signature.pgp
Description: Digital signature


Reply to: