copy text folder and subfolders cmd code example
Example 1: copy whole directory command line
cp -r /directory/to/copy /destination/path
#Use "r" flag to copy whole directory
Example 2: copy directory with files
cp -r source_folder destination/path