diff options
author | Saumit Dinesan <justsaumit@protonmail.com> | 2022-03-06 21:36:37 +0530 |
---|---|---|
committer | Saumit Dinesan <justsaumit@protonmail.com> | 2022-03-06 21:36:37 +0530 |
commit | 6537eef95bb9067d0f20574a3f4f5f00f90cc4eb (patch) | |
tree | 26d5ac6eb0830ad523818ae1a86daf0591338349 /scripts/serch | |
parent | f23cfa36053e25466b4bb0263c74e0a0ecfd76d2 (diff) |
updating old scripts
Diffstat (limited to 'scripts/serch')
-rwxr-xr-x[-rw-r--r--] | scripts/serch | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/serch b/scripts/serch index fa0ea2f..0e2acfe 100644..100755 --- 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 - |