ubuntu move folder to another directory

C++
sudo mv /root/folder1 /home/folder2/mv  -v ~/Downloads/* ~/Videos/

Source

Also in C++: