how to copy folders in terminal code example
Example 1: mac copy folder terminal
cp -R ~/Documents/Expenses /Volumes/Data/Expenses
Example 2: terminal copy directory
$ cp -R <source_folder>/* <destination_folder>
cp -R ~/Documents/Expenses /Volumes/Data/Expenses
$ cp -R <source_folder>/* <destination_folder>