diff options
author | rhatto <rhatto@ratatosk.fluxo.info> | 2014-03-17 21:10:10 -0300 |
---|---|---|
committer | rhatto <rhatto@ratatosk.fluxo.info> | 2014-03-17 21:10:10 -0300 |
commit | c77565e1e2ac774659c125b2ca14f18d9f56f0cf (patch) | |
tree | 4dfc701829f82f4a555dfc938ef2f508f55478e1 /lib/keyringer/actions/find | |
parent | c3cb9ea4b3f65b95001d2ff07e68f7733a3b78a1 (diff) | |
download | keyringer-c77565e1e2ac774659c125b2ca14f18d9f56f0cf.tar.gz keyringer-c77565e1e2ac774659c125b2ca14f18d9f56f0cf.tar.bz2 |
Using -iname at find action
Diffstat (limited to 'lib/keyringer/actions/find')
-rwxr-xr-x | lib/keyringer/actions/find | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/keyringer/actions/find b/lib/keyringer/actions/find index 9b18d66..21afc7a 100755 --- a/lib/keyringer/actions/find +++ b/lib/keyringer/actions/find @@ -15,5 +15,5 @@ shift ARGS="`echo "$*" | sed -e "s|^/*||"`" # Run find command -cd "$KEYDIR/$RELATIVE_PATH" && find | grep -i "$ARGS" | sed -e 's|^./||g' +cd "$KEYDIR/$RELATIVE_PATH" && find -iname "*$ARGS*" | sed -e 's|^./||g' cd "$CWD" |