r/shittyprogramming • u/heroinpuppy • Jan 19 '23
Does this count?
#!/bin/bash
# Slightly faster find
if [ $# -ne 2 ]; then
echo "Use two arguments: ff <location> <query>"
else
find $1 -iname \*$2\*
fi
39
Upvotes
3
u/[deleted] Jan 19 '23
it's slightly faster because....?
3
u/T351A Jan 20 '23
you could also just alias it
0
u/[deleted] Jan 19 '23
[deleted] — view deleted comment