copy directory mac code example
Example 1: mac clone directory duplicate
# Is there something special with that directory or are you really just asking how to copy directories?
# Copy recursively via CLI:
cp -R <sourcedir> <destdir>
Example 2: mac copy folder terminal
cp -R ~/Documents/Expenses /Volumes/Data/Expenses
Example 3: how to move file in the command line
% mv ~/Downloads/MyFile.txt ~/Documents/Work/MyFile.txt