Linux find Command Task

This task was marked failed for me even though I copied all the files as needed. Please re-check
image

@Inderpreet Can you re-verify this?

@cindy
What is you KKE username or email ID?

This task was marked failed for me even though I copied all the files as needed.

This was the command I used:

find /var/www/html/blog -type f -iname “*.css” -exec cp --parents {} /blog ;
Please help check.

@Inderpreet- Did you get a change to verify?

@cindy

You were supposed to copy whole data along with parent directory structure but seems like you simply copied the .php files. Here is the screenshot from your original answer.

@Ade As per screenshot you shared ^^ there seems to be same mistake, files were not copied along with parent directories.

The command wont copy the directories . The syntax will be --parents {} (a backward slash inside and before braces ) Hope this will help …

Inspired from your syntax :slight_smile: