How to move files with rsync to preserve permissions
Use rsync with the -av flags to copy files while preserving permissions and showing verbose output.
rsync -av public_html/ /var/www/html/
Use rsync with the -av flags to copy files while preserving permissions and showing verbose output.
rsync -av public_html/ /var/www/html/