about summary refs log tree commit diff stats
path: root/home-manager/packages/scripts/small_functions/deprecated/locate_rewrite
diff options
context:
space:
mode:
Diffstat (limited to 'home-manager/packages/scripts/small_functions/deprecated/locate_rewrite')
-rwxr-xr-xhome-manager/packages/scripts/small_functions/deprecated/locate_rewrite/locate2
-rwxr-xr-xhome-manager/packages/scripts/small_functions/deprecated/locate_rewrite/update_locate_database8
2 files changed, 0 insertions, 10 deletions
diff --git a/home-manager/packages/scripts/small_functions/deprecated/locate_rewrite/locate b/home-manager/packages/scripts/small_functions/deprecated/locate_rewrite/locate
deleted file mode 100755
index 3dbddae9..00000000
--- a/home-manager/packages/scripts/small_functions/deprecated/locate_rewrite/locate
+++ /dev/null
@@ -1,2 +0,0 @@
-#! /bin/bash
-awk --assign=se=$1 ' $0 ~ se {print $0} ' "${LOCATE_DATABASE}"
diff --git a/home-manager/packages/scripts/small_functions/deprecated/locate_rewrite/update_locate_database b/home-manager/packages/scripts/small_functions/deprecated/locate_rewrite/update_locate_database
deleted file mode 100755
index 88330ff6..00000000
--- a/home-manager/packages/scripts/small_functions/deprecated/locate_rewrite/update_locate_database
+++ /dev/null
@@ -1,8 +0,0 @@
-#! /bin/bash
-LOCATE_DATABASE="/home/dt/.cache/locate.db"
-if [ ! -e ${LOCATE_DATABASE} ]; then
-    touch ${LOCATE_DATABASE}
-fi
-echo $(date) > ${LOCATE_DATABASE}
-sudo find / >> ${LOCATE_DATABASE}
-