[go: up one dir, main page]

Menu

[r49]: / bin / ct-save-ctafconf  Maximize  Restore  History

Download this file

48 lines (42 with data), 1.3 kB

#!/bin/sh
## ct-save-ctafconf for ctafconf in /home/ctaf/.ctafconf
##
## Made by GESTES Cedric
## Login   <ctaf@epita.fr>
##
## Started on  Tue Oct  4 03:04:18 2005 GESTES Cedric
## Last update Fri Mar 31 20:39:46 2006 GESTES Cedric
##
#CTAFCONF

pwdd=`pwd`
cd ~

touch .ctafconf/perso/ssh/empty \
      .ctafconf/perso/repos/empty \
      .ctafconf/perso/semantic/empty \
      .ctafconf/perso/previous/empty \
      .ctafconf/perso/bin/empty \
      .ctafconf/perso/wallpaper/empty

tar --exclude ".svn" \
    --exclude ".ctafconf/etc/emacs/site-lisp/ilisp" \
    --exclude ".ctafconf/etc/emacs/site-lisp/ecb" \
    --exclude ".ctafconf/etc/emacs/site-lisp/cedet" \
    --exclude ".ctafconf/etc/emacs/site-lisp/doxymacs" \
    -cvzf ctafconf-`date "+%Y%m%d"`.tgz \
    .ctafconf/bin \
    .ctafconf/etc \
    .ctafconf/ctafconf-configuration \
    .ctafconf/ctafconf-install \
    .ctafconf/ctafconf-uninstall \
    .ctafconf/ChangeLog \
    .ctafconf/README \
    .ctafconf/TODO \
    .ctafconf/VERSION \
    .ctafconf/AUTHORS \
    .ctafconf/perso/ssh/empty \
    .ctafconf/perso/repos/empty \
    .ctafconf/perso/semantic/empty \
    .ctafconf/perso/previous/empty \
    .ctafconf/perso/bin/empty \
    .ctafconf/perso/wallpaper/empty


echo "tarball of the ctafconf: " ~/ctafconf-`date "+%Y%m%d"`.tgz
cd $pwdd