terminal copy directory code example
Example 1: copy all files from a folder to another ubuntu
cp -a ./source/. ./dest/
Example 2: mac copy folder terminal
cp -R ~/Documents/Expenses /Volumes/Data/Expenses
Example 3: terminal copy directory
$ cp -R <source_folder>/* <destination_folder>