diff options
Diffstat (limited to 'home-manager/packages/scripts/small_functions/deprecated/locate_rewrite')
-rwxr-xr-x | home-manager/packages/scripts/small_functions/deprecated/locate_rewrite/locate | 2 | ||||
-rwxr-xr-x | home-manager/packages/scripts/small_functions/deprecated/locate_rewrite/update_locate_database | 8 |
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} - |