OpenEMR 5.0.1 to 5.0.2 mv fails for /sites/default/ files

Hi. The “Linux Upgrade 5.0.1 to 5.0.2” guide at https://www.open-emr.org/wiki/index.php/Linux_Upgrade_5.0.1_to_5.0.2 says to do the following:

mv openemr-5.0.1/sites/default/documents public_html/sites/default/

In response I get “mv: cannot move ‘openemr-5.0.1/sites/default/documents’ to ‘public_html/sites/default/documents’: Directory not empty”

Is it equivalent to use "cp -a " instead?

Thanks

@PeteBoyd

Your destination directory is already exists. So please try to copy the files from source to destination.

So we would suggest you to copy files from ‘openemr-5.0.1/sites/default/documents/*’ to ‘public_html/sites/default/documents/’.

Thanks,
ViSolve-121