Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
asicsp
on Dec 10, 2021
|
parent
|
context
|
favorite
| on:
A common mistake involving wildcards and the find ...
I have this shortcut for such cases. An important difference from your command is that I'm still using glob, not regex. You can use `-regex` if needed.
fs() { find -iname '*'"$1"'*' ; }
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: