From 6537eef95bb9067d0f20574a3f4f5f00f90cc4eb Mon Sep 17 00:00:00 2001 From: Saumit Dinesan Date: Sun, 6 Mar 2022 21:36:37 +0530 Subject: updating old scripts --- scripts/serch | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) mode change 100644 => 100755 scripts/serch (limited to 'scripts/serch') diff --git a/scripts/serch b/scripts/serch old mode 100644 new mode 100755 index fa0ea2f..0e2acfe --- a/scripts/serch +++ b/scripts/serch @@ -1,7 +1,5 @@ #!/bin/sh - -sudo -A find / -type f -o -type d | +sudo -A find / -type f -o -type d -path '/proc/*' -prune| dmenu -i -p 'Directories/Files to search:' -l 15 | -awk '{printf("\"%s\"\n", $0);}' | +sed "s/.*/'&'/" | xclip -sel c - -- cgit v1.2.3