Copy all the sub-directories and the files under COLORS directory to SHAPE.
Note: assume that you are inside your home directory and always specify only relative path
Answers
Answered by
7
Answer:-
The option you're looking for is -R.
cp -R path_to_source path_to_destination/
If destination doesn't exist, it will be created.
-R means copy directories recursively. You can also use -r since it's case-insensitive.
Note the nuances with adding the trailing / as per 764's .
Answered by
5
Answer:
cp -ir mydir/colors/basic mydir/colors/blended mydir/shape
Similar questions
Math,
5 months ago
Political Science,
5 months ago
English,
5 months ago
English,
11 months ago
Economy,
1 year ago
Business Studies,
1 year ago
History,
1 year ago