This task was marked failed for me even though I copied all the files as needed. Please re-check
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.
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