linux copy folder and subfolders to another location code example
Example: how to copy directory to another directory in linux
cp -r <DIRECTORYPATH> <WHEREYOUWANTTOCOPYTO>
#for example
cp -r /home/thor/asia/india/bangalore /home/thor/
cp -r <DIRECTORYPATH> <WHEREYOUWANTTOCOPYTO>
#for example
cp -r /home/thor/asia/india/bangalore /home/thor/