But using the Bash globstar option that could be done in only few seconds !
This is the final video of a three parts mini-series. It will focus on a little known feature of the Bash called globstar that extends classic glob patterns to match an arbitrary number of subdirectories.
First, if you haven’t watched it yet, take a look at : * the first part of this series, introducing classic glob patterns * the second part of this series, introducing the find command to deal with nested files
Then, I Strongly encourage you to download the files used on the video so you will be able to try the same commands as me on your own system.
This video is clearly aimed toward new shell users. The video was designed on a Linux system and using the Bash shell. But the features demonstrated here are generic enough to work with other shells and/or other Unix-like OS (*BSD, MacOSX, …).
You should have a working Unix-like system
You should be confortable with your file manager/file explorer
You should be running a Bash shell (or compatible) ≥ 4.0 (which was released on 2010). Unless you’re running a very old Linux/BSD/MacOS X distribution there are great chances your Bash to be recent enough.