del emacs backups

This commit is contained in:
TLINDEN
2015-05-14 18:34:41 +02:00
parent 5017b6b186
commit ea1c7c95fb
2 changed files with 0 additions and 46 deletions

View File

@@ -1,25 +0,0 @@
#!/bin/sh
#
# simple locate alike
# written as an example how to
# use dbtool.
#
# locate searches the database
# for a file which matches a
# certain string. The parameter
# to locate can be a fully perl-
# compliant regular expression.
#
# $Id: locate,v 1.3 2001/06/26 23:00:02 scip Exp $
dbtool="/usr/bin/dbtool";
find="/usr/bin/find";
db="/var/local/locate.db";
sort="/bin/sort";
regex=$1;
if [ "x$regex" != "x" ]; then
$dbtool -d $db -S -k $regex -w -R;
else
echo "Usage: locate <expression>";
fi

View File

@@ -1,21 +0,0 @@
#!/bin/sh
#
# simple locate alike
# written as an example how to
# use dbtool.
#
# updatedb creates the database
# which is then used by locate
# to search for a certain string.
#
# $Id: updatedb,v 1.2 2001/06/26 23:00:02 scip Exp $
#
dbtool="/usr/bin/dbtool";
find="/usr/bin/find";
db="/var/local/locate.db";
egrep="/bin/egrep";
cp="/bin/cp"
$cp /dev/null $db;
$find / -ls | $egrep -v "^\/proc|dev|tmp" | $dbtool -d $db -i -f -R -t "^(.+?) (\/.*)$";