3 ms·
Here is a bash/zsh port: alias ff='find . | egrep'
by imoverclocked 8y ago
Here is a bash/zsh port:
alias ff='find . | egrep'
- millstone 8y agoThe above is faster because it streams the results as it walks the directory tree.
- agumonkey 8y agoI hate myself for never thinking alias whenever I use a pattern 23 times an hour. Thanks
- olejorgenb 8y agoThis will show all files where any of the path matches, not just the leafs
- frutiger 8y ago`find . -type f -name "$1"` should give you that and potentially faster than GP since you don't need to do any I/O to a second process.
- mehrdadn 8y agoOr maybe use the built-in ff() { find . -regex ".*$1.*" "${@:2}"; };