copy folder from one location to another in mac terminal code example Example: mac copy folder terminal cp -R ~/Documents/Expenses /Volumes/Data/Expenses