Create the following directory structure:
.
└── d1
├── d10
│ └── scheduler-center.log
└── result.json
1. Execute the following command
cp d1 d2
Then an error is reported, cp: The directory "d1" is skipped, and there is no d2 directory in the current directory
2. cp -r d1 d2