Check out example codes for "move contents of a folder to another folder mac". It will help you in understanding the concepts better.

Code Example 1

mv  -v ~/Downloads/* ~/Videos/

Learn ReactJs, React Native from akashmittal.com