copy everything inside a folder in terminal 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
cp -a ./source/. ./dest/
cp -R ~/Documents/Expenses /Volumes/Data/Expenses