by HumblyTossed · 5y ago · 0 comments
Example:
/some/location/one/January/Photos
/some/location/two/January/Photos
I need a tool that would return a match on January directory.
It would be great to be able to filter things. So for example, if I have backups of my dev folder, I want to filter out all the virtual envs (venv below): /home/HumblyTossed/dev/venv/bin /home/HumblyTossed/backups/dev/venv/bin
https://man7.org/linux/man-pages/man1/find.1.html (-mindepth -maxdepth can also be added to make it stricter)
find some/location -type d -wholename '*/January/Photos'
https://github.com/sharkdp/fd fd -p '*/January/Photos' some/location