Copy all files and folders to another directory
Copies all files and folders from
source_dir
to
destination_dir
cp -r /home/user/source_dir/. /var/www/html/destination_dir/
-r
- copies recursively (with subfolders and files)
.
- copies all files and folders inside the folder
by Valeri Tandilashvili
4 years ago
Linux
1
Pro tip: use ```triple backticks around text``` to write in code fences