educative.io

Error while in Bash Programming > Basic Programming with Bash > Advanced Usage of the find Utility

Getting this issue, when I do find /usr -path "*/doc/*" -name "*.html" -exec cp {} ~ \;

when I do find /usr -path "*/doc/*" -name "*.html" -exec cp -r {} ~ \; it seems to work (except it complains about overwriting a python.html file)