geek rescue kit Code
Brought to you by:
ctaf
#!/bin/sh
## shfunction for ctafconf in /home/ctaf/.ctafconf
##
## Made by GESTES Cedric
## Login <ctaf42@gmail.com>
##
## Started on Sun Oct 2 07:23:17 2005 GESTES Cedric
## Last update Wed Nov 21 10:07:08 2007 GESTES Cedric
##
##CTAFCONF
#purge file in a dir
purge ()
{
(echo removing: *\~) 2>/dev/null
(rm -f *\~) 2>/dev/null;
(echo \.*\~) 2>/dev/null
(rm -f \.*\~) 2>/dev/null;
(echo \#*\#) 2>/dev/null
(rm -f \#*\#) 2>/dev/null;
echo "directory purged";
}
purge