You may also try using locate
utility, e.g.:
updatedb -o ~/tmp.db -l0 -U $PWD; cd $(locate -d ~/tmp.db -l 1 -b -r foo-)
For more complex regex pattern check info locate
.
You may also try using locate
utility, e.g.:
updatedb -o ~/tmp.db -l0 -U $PWD; cd $(locate -d ~/tmp.db -l 1 -b -r foo-)
For more complex regex pattern check info locate
.