copy all files and folders to different dir cli 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