r/shittyprogramming • • 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
38 Upvotes

9 comments sorted by

View all comments

Show parent comment

2

u/T351A Jan 21 '23

less is better than more anyways