| ▲ | zahlman 3 hours ago | |||||||
I think I would do it more like: | ||||||||
| ▲ | 0xbadcafebee 2 hours ago | parent [-] | |||||||
You would need to make those double-quotes into single-quotes. Double-quotes will interpolate the $() immediately, running basename before find runs. Single-quotes will not interpolate the $(), so the whole string gets passed to find for it to execute each time | ||||||||
| ||||||||