Yes, I know
How to Move hundreds of Files in no Time ... using globstar (**)

Moving files scattered among several sub-directories could be a boring and time-consuming task if you only rely on your mouse & the graphical user interface of your system.

 Get the support materialCheck your mailbox for the link!  View on YouTube 

Share 
How to Move hundreds of Files in no Time ... using globstar (**)

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.

How can I take the most of this video?

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.

What is the target audience?

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, …​).

What are the requirements?

  • 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.